Question
#6

sorry for first nab code :c
PHP код:
new paydaytime[MAX_PLAYERS];
public 
OnPlayerConnect(playerid) {
   
paydaytime[playerid] = 3600;
   
SetTimerEx("payday",1000,1,"i",playerid);
   return 
1;
}
forward payday(playerid);
public 
payday(playerid) {
     if(
paydaytime[playerid] == 0) {
        
//code
        
paydaytime[playerid] = 3600;
     } else if(
paydaytime[playerid] == 1800)
       {
        
// message
     
} else
     {
      
paydaytime[playerid] --;
   }

Reply


Messages In This Thread
Question - by SecretBoss - 15.11.2015, 07:36
Re: Question - by Karan007 - 15.11.2015, 07:40
Re: Question - by SecretBoss - 15.11.2015, 07:47
Re: Question - by Karan007 - 15.11.2015, 07:52
Re: Question - by Remba031 - 15.11.2015, 07:55
Re: Question - by jlalt - 15.11.2015, 08:01

Forum Jump:


Users browsing this thread: 1 Guest(s)