#1

Hey guys i did a textdraw timer for a rob but is staying at 30 like Rob time: 30 and isn't going down the sistem is like this

Код HTML:
new RobSec = 0;

RobSec = 0; //this is after you complete to set timer 0

RobSec = 30; //this is after you use /robbank

format(string, sizeof(string), "Time Left: ~y~%02d:%02d", RobSec);
PlayerTextDrawSetString(playerid, Rob2Text[playerid], string); //this is under "RobSec = 30;" at /robbank cmd
why isn't working ?
Reply
#2

Make a timer that calls to a function that does RobSec--; and PlayerTextDrawSetString. Right now the timer will not go down because you do not have anything telling the timer to decrease.

I helped you with this already once: http://forum.sa-mp.com/showthread.ph...18#post3767118
Reply
#3

ok ,thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)