Author Topic: Event Server Timescale  (Read 1064 times)

i have this working PERFECTLY on my server, only mine because it uses find client by name...

i want to know how to make it work with everyone(the host):
DONT STEAL MY stuff
AND I MADE THE CLIENT TIMESCALE
Code: [Select]
registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 //0.2 1");


function GameConnection::SetTimescale(%this, %time)
{
eval("serverCmdTimescale(" @ findclientbyname(MARBLE) @ //"," @ %time @ ");");
}
Result:
it works on my server so far :/
MARBLE MAN set the timescale to #.#
« Last Edit: September 10, 2011, 10:34:25 PM by MARBLE MAN »

TELL ME NOW <3 :cookie: :cookie:
I will release soon!!! lolwut
« Last Edit: September 03, 2011, 09:48:01 PM by MARBLE MAN »

registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 0.2 1");

function GameConnection::SetTimescale(%this, %time)
{
    serverCmdTimescale(%this,%time);
}

Like this?

Do not release this, keep it private. Not trying to be a jerk, trying not to get you failed and ridiculed. Seriously, keep it to yourself.

Code: [Select]
registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 0.2 1");

function GameConnection::SetTimescale(%this, %time) {
serverCmdTimescale(%this, %time);
}
« Last Edit: September 03, 2011, 09:48:06 PM by MegaScientifical »

Do not release this, keep it private. Not trying to be a jerk, trying not to get you failed and ridiculed. Seriously, keep it to yourself.

Code: [Select]
registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 0.2 1");

function GameConnection::SetTimescale(%this, %time) {
serverCmdTimescale(%this, %time);
}
Doesnt work, it crashes the server...
and changes the timescale...

can someone please help??!?!?!?

someone did made this script and Badpost moved it in bin failed, and he add disable that part script, sorry. You can do nothing.
http://forum.blockland.us/index.php?topic=166224.0

someone did made this script and Badpost moved it in bin failed, and he add disable that part script, sorry. You can do nothing.
http://forum.blockland.us/index.php?topic=166224.0
That was client-side, what he's making is server-side.

Doesnt work, it crashes the server...
I don't see how it would crash

and changes the timescale...
Isn't that exactly what you wanted?

someone did made this script and Badpost moved it in bin failed, and he add disable that part script, sorry. You can do nothing.
http://forum.blockland.us/index.php?topic=166224.0

the OP made that lol

someone did made this script and Badpost moved it in bin failed, and he add disable that part script, sorry. You can do nothing.
http://forum.blockland.us/index.php?topic=166224.0
.. that was me.. not an event