How to create Timer? GameTextForPLAYER
#1

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
Код:
29
28
27... to 0
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?
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)