sendingclient message to all on timer. HELP PLEASE
#1

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]~~
Reply
#2

Код:
//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;
}
Reply
#3

oh it worked, thanks a lot man! =)
Reply
#4

You obviously didn't check Drift.

https://sampwiki.blast.hk/wiki/SetTimer

All the need to do is change a few words.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)