21.05.2010, 16:35
Arite here's an example:
At top of the script
Anywhere:
Now OnPlayerSpawn or anywhere:
What this will do is Send client a message every 1 second "Hello".
Hope this helps
At top of the script
Код:
new timertime=1000; //1 second new timer;
Код:
forward function();
public function()
{
SendClientMessageToAll(0xFF0000AA,"Hello!");
return 1;
}
Код:
timer=SetTimer("function",time,1); // 1 for repeating and 0 for non-repeating
Hope this helps

