Problem with vip carfix
#1

Hello i have been trying to make a vip vehicle fix
Код:
new CountDown1 = 5; 

new CountDownTimer;



forward CountDown();
public CountDown()
{
     CountDown1--;
     new str[128];
     if(CountDown1 == 0)
     {
            KillTimer(CountDownTimer);
            CountDownVar = 5;
     }
     else
     {
           format(str, sizeof(str), "Numaratoarea inversa: %d", CountDownTimer);
           GameTextForAll(str, 1000, 1);
     }
     return 1;
}



CMD:test(playerid, params[]) 
{
     CountDownTimer = SetTimer("CountDown", 1000, false); 
     SendClientMessage(playerid, COLOR_WHITE, "Numaratoarea inversa a fost declansata.");
     return 1;
}
i get an error at countdown var
Reply
#2

anyone ?
Reply
#3

up someone
Reply
#4

up , up ,up
Reply
#5

Can you use the code inside tags? or tags?
And can you tell me whats the problem exactly?
And what errors, show me.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)