SA-MP Forums Archive
Problem with vip carfix - 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: Problem with vip carfix (/showthread.php?tid=592976)



Problem with vip carfix - TheDarkBlade - 31.10.2015

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


Re: Problem with vip carfix - TheDarkBlade - 31.10.2015

anyone ?


Re: Problem with vip carfix - TheDarkBlade - 31.10.2015

up someone


Re: Problem with vip carfix - TheDarkBlade - 01.11.2015

up , up ,up


Re: Problem with vip carfix - iKarim - 01.11.2015

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