View Single Post
  #4  
Old 07-17-2010, 03:46 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
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!";

__________________
Quote:
Reply With Quote