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


Messages In This Thread
Problem with vip carfix - by TheDarkBlade - 31.10.2015, 17:34
Re: Problem with vip carfix - by TheDarkBlade - 31.10.2015, 18:24
Re: Problem with vip carfix - by TheDarkBlade - 31.10.2015, 19:41
Re: Problem with vip carfix - by TheDarkBlade - 01.11.2015, 04:47
Re: Problem with vip carfix - by iKarim - 01.11.2015, 04:51

Forum Jump:


Users browsing this thread: 1 Guest(s)