Quote:
Originally Posted by fowlplay4
There's a delay in between the triggerserver and onActionServerSide because it has to send data from the client to the server.
Try this code:
PHP Code:
//#CLIENTSIDE
function onCreated() {
this.scheduleevent(1, "ScheduledEvent", timevar2);
}
function onScheduledEvent(init) {
player.chat = "This took event " @ timevar2 - init @ " seconds!";
}
|
Well it seems to come back early effortlessly on larger numbers like 1 second +. however when i tried it at ~0.095 seconds (roughly the amount of time in question) it struggles to go below ~0.13. usually remains near the 0.19 mark. So I guess I might need to have to make due with the small delay on the quicker weapons.