How to create Timer? GameTextForPLAYER - 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)
+--- Thread: How to create Timer? GameTextForPLAYER (
/showthread.php?tid=624752)
How to create Timer? GameTextForPLAYER -
RedRex - 22.12.2016
Hi everyone?> can you help me to Create GameTextForPlayer? NOTE: Do not give me a WiKi
I Already creating the Timer, But i need Wait Someone robbing GameTextForPlayer 30 secdons Left and Countdown
Example
and given him the Cash " I Already Creating Timer + Command for robbing But i need to Add gametext
Код:
forward robtimer(playerid); //Forwards your public
public robtimer(playerid)
{
new string[128];
new rand = random(150000); //When your robbing you get 0-130000 cash random
GivePlayerMoney(playerid,rand); //it Gives your the random cash
format(string, sizeof(string), "You have succesfully robbed $%d From Dragon Casino!", rand);
SendClientMessage(playerid, COLOR_GREEN, string);
TogglePlayerControllable(playerid,1); //You can walk again
return 1;
}
How to add GameText?
Re: How to create Timer? GameTextForPLAYER -
Bolex_ - 22.12.2016
Quote:
NOTE: Do not give me a WiKi
|
You must learn.. Create it by yourself, If u got any problem then set not like this
https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/GameTextForPlayer
Use gettime() instead!