setting if to command
#1

PHP код:
        case 5:
        {
            if((
CP[playerid] > 0) && (MilitarJob[playerid] == 5)) return SendClientMessage(playerid, -1"Mission Failed, your CP is 1 !");
            {
                
DisablePlayerCheckpoint(playerid);
                
SendClientMessage(playerid, -1"You accomplished your mission!!");
                
GivePlayerMoney(playerid,2500);
                
MilitarJob[playerid] = 0;
                
CP[playerid] = 0;
            }
        } 
How can I make
PHP код:
if pInfo[playerid][ZombiesKilled] > 1  GivePlayerMoney(playerid,5000);
if 
pInfo[playerid][ZombiesKilled] < 0 GivePlayerMoney(playerid,2500); 
Reply


Messages In This Thread
setting if to command - by Zeus666 - 21.03.2018, 16:09
Re: setting if to command - by m4karow - 21.03.2018, 16:18
Re: setting if to command - by Zeus666 - 21.03.2018, 16:19
Re: setting if to command - by kovac - 21.03.2018, 17:00
Re: setting if to command - by Zeus666 - 21.03.2018, 17:03
Re: setting if to command - by kovac - 21.03.2018, 17:06
Re: setting if to command - by Maximun - 21.03.2018, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)