SA-MP Forums Archive
Need help with robbery text - 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: Need help with robbery text (/showthread.php?tid=409401)



Need help with robbery text - maho422 - 21.01.2013

robbery system.jpg

How do i make my robbery system like that? (TEXT)

Mine is an dialog atm .. I want it to countdown aswell


Re: Need help with robbery text - DaRk_RaiN - 21.01.2013

GameTextForPlayer
CountDown


Re: Need help with robbery text - Infinity90 - 21.01.2013

pawn Код:
format(string,sizeof(string),"Time left: %d", YourTimeCountVariableHere);
GameTextForPlayer(playerid, string, 3000, 3);



Re: Need help with robbery text - maho422 - 21.01.2013

Quote:
Originally Posted by Infinity90
Посмотреть сообщение
pawn Код:
format(string,sizeof(string),"Time left: %d", YourTimeCountVariableHere);
GameTextForPlayer(playerid, string, 3000, 3);
Did it like this

pawn Код:
format(string,sizeof(string),"Robbing Otto's Cars.\nFinish Robbery in: %d.\nDont move from the checkpoint.",RobbingOtto[playerid]);
GameTextForPlayer(playerid, string, 3000, 3);
But its not working