Some help with countDown
#6

ok guys look what i have now and tell me your opinions:
PHP код:
new CountDownVar 15;
new 
CountDownTimer
PHP код:
CountDownTimer SetTimerEx("CountDown"1000true"i"playerid); 
PHP код:
forward CountDown(playerid);
public 
CountDown(playerid)
{
 
CountDownVar--;
 new 
str[128];
 if(
CountDownVar == 0)
 {
    
KillTimer(CountDownTimer);
    
CountDownVar 15;
 }
 else
 {
    
GameTextForPlayer(playerid"Count Down: %d"CountDownTimer10001);
    
//format(str, sizeof(str), "Count Down: %d", CountDownTimer);
    //GameTextForPlayer(str, 1000, 1);
 
}
 return 
1;

and i am getting those warnings:
PHP код:
C:\Users\Dimitris\Desktop\server 0.3z\filterscripts\CarSystem.pwn(1779) : warning 202number of arguments does not match definition
C
:\Users\Dimitris\Desktop\server 0.3z\filterscripts\CarSystem.pwn(1771) : warning 204symbol is assigned a value that is never used"str" 
line 1779:
PHP код:
 GameTextForPlayer(playerid"Count Down: %d"CountDownTimer10001); 
line 1771:
PHP код:
 new str[128]; 
when i press my command which the timer should start working ,i dont see nothing the command is not working,
plesae some help thanks
Reply


Messages In This Thread
Some help with countDown - by jimis - 19.05.2014, 19:45
Re: Some help with countDown - by TakeiT - 19.05.2014, 19:49
Re: Some help with countDown - by jimis - 19.05.2014, 20:06
Re: Some help with countDown - by Spartaaaaa - 19.05.2014, 20:51
Re: Some help with countDown - by JFF - 20.05.2014, 03:49
Re: Some help with countDown - by jimis - 21.05.2014, 10:34
Re: Some help with countDown - by JFF - 21.05.2014, 10:39
Re: Some help with countDown - by jimis - 21.05.2014, 10:48
Re: Some help with countDown - by jimis - 21.05.2014, 10:54
Re: Some help with countDown - by Konstantinos - 21.05.2014, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)