sendingclient message to all on timer. HELP PLEASE - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: sendingclient message to all on timer. HELP PLEASE (
/showthread.php?tid=67154)
sendingclient message to all on timer. HELP PLEASE -
Drift_04 - 27.02.2009
How can i make it so after 5 minutes i send a message to all players i wanna make it so after every 5 minutes it does a SendClientMessageToAll
and yes mikep i already check wiki and i can't find it Thanks Guys!!
~~[Drift]~~
Re: sendingclient message to all on timer. HELP PLEASE -
Jefff - 27.02.2009
Код:
//OnGameModeInit
SetTimer("TimerName", 300000 ,1); // 1000 - sec, 60000 - min, 1 - repeat
//the end of map
forward TimerName();
public TimerName(){
SendClientMessageToAll(COLOR,"Hello baby");
return 1;
}
Re: sendingclient message to all on timer. HELP PLEASE -
Drift_04 - 27.02.2009
oh it worked, thanks a lot man! =)
Re: sendingclient message to all on timer. HELP PLEASE -
Mikep - 27.02.2009
You obviously didn't check Drift.
https://sampwiki.blast.hk/wiki/SetTimer
All the need to do is change a few words.
Re: sendingclient message to all on timer. HELP PLEASE -
Norn - 27.02.2009
Quote:
|
Originally Posted by Drift_04
How can i make it so after 5 minutes i send a message to all players i wanna make it so after every 5 minutes it does a SendClientMessageToAll
and yes mikep i already check wiki and i can't find it Thanks Guys!!
~~[Drift]~~
|
Stop creating like 5 threads every 15 minutes. Use the edit button and edit the title.