| Blockland Forums > Modification Help |
| Event Server Timescale |
| (1/3) > >> |
| MARBLE MAN:
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: ---registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 //0.2 1"); function GameConnection::SetTimescale(%this, %time) { eval("serverCmdTimescale(" @ findclientbyname(MARBLE) @ //"," @ %time @ ");"); } --- End code --- Result: it works on my server so far :/ MARBLE MAN set the timescale to #.# |
| MARBLE MAN:
TELL ME NOW <3 :cookie: :cookie: I will release soon!!! lolwut |
| Headcrab Zombie:
--- Quote from: MARBLE MAN on September 03, 2011, 09:34:43 PM ---registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 0.2 1"); function GameConnection::SetTimescale(%this, %time) { serverCmdTimescale(%this,%time); } --- End quote --- Like this? |
| 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: ---registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 0.2 1"); function GameConnection::SetTimescale(%this, %time) { serverCmdTimescale(%this, %time); } --- End code --- |
| MARBLE MAN:
--- Quote from: MegaScientifical on September 03, 2011, 09:46:27 PM ---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: ---registerOutputEvent(GameConnection,"SetTimescale","float 0.2 2.0 0.2 1"); function GameConnection::SetTimescale(%this, %time) { serverCmdTimescale(%this, %time); } --- End code --- --- End quote --- Doesnt work, it crashes the server... and changes the timescale... |
| Navigation |
| Message Index |
| Next page |