setting if to command
#6

Quote:
Originally Posted by Zeus666
Посмотреть сообщение
PHP код:
        case 5:
        {
            if(
MilitarJob[playerid] != 5) return SendClientMessage(playerid, -1"Mission Failed. Go back to base.");
            {
            if(
pInfo[playerid][ZombiesKilled] == 0)
{
GivePlayerMoney(playerid,2500);
            }
}
if(
pInfo[playerid][ZombiesKilled] > 1)
{
GivePlayerMoney(playerid,5000);
}
        } 
??
PHP код:
case 5:
{
    if(
MilitarJob[playerid] != 5) return SendClientMessage(playerid, -1"Mission Failed. Go back to base.");
    {
         if(
pInfo[playerid][ZombiesKilled] > 1)
        {
            
GivePlayerMoney(playerid,5000);
           }
        else 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)