Chance!
#5

PHP код:
forward GetOuts1(playerid);
public 
GetOuts1(playerid)
{
            
//here code
}

forward GetOuts2(playerid);
public 
GetOuts2(playerid)
{
   
//here code

}

CMD:getouts(playeridparams[])
{
     new 
chance=random(4);
     if(
chance==1)
        {
            
//here code
            
SetTimerEx("GetOuts1"23000"i"playerid);

        }
        else
        {
            
//here code
            
SetTimerEx("GetOuts2"23000"i"playerid);

        }
     return 
1;

Reply


Messages In This Thread
Chance! - by Thanks - 08.05.2018, 12:20
Re: Chance! - by Maxandmov - 08.05.2018, 12:26
Re: Chance! - by Thanks - 08.05.2018, 12:59
Re: Chance! - by TadePoleMG - 08.05.2018, 13:06
Re: Chance! - by CrystalGamer - 08.05.2018, 15:31
Re: Chance! - by kovac - 08.05.2018, 15:36
Re: Chance! - by CrystalGamer - 08.05.2018, 15:46
Re: Chance! - by kovac - 08.05.2018, 16:12
Re: Chance! - by Logic_ - 08.05.2018, 17:48
Re: Chance! - by Thanks - 08.05.2018, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)