Make a command cost monay
#2

pawn Код:
if (strcmp(cmdtext, "/airstrike", true) == 0)
{
    if(GetPlayerMoney(playerid) >= 25000)
    {
        ShowPlayerDialog(playerid,DS,2,"Airstrikes","Vehicle Smasher \nEnemy Wave Attack \nTank Buster \nCarpet Bomb \nNuke \nAir Attack \nAir Bomber \nMegaNuke \nVehicle Nuke \nAircracker bomb \nAirCluster Bomb \nDestructorBomb \nFireCluster \nSplitterMissile \nMOAB ","Ok","Cancel");
        return 1;
    }
    else SendClientMessage(playerid, 0xFFFFFFFF, "ERROR: You do not have enough money to perform this command!");
    return 1;
}
return 0;
}
Try.
Reply


Messages In This Thread
Make a command cost monay - by Eminem 2ka9 - 09.03.2013, 14:16
Re: Make a command cost monay - by Denying - 09.03.2013, 14:18
Re: Make a command cost monay - by Eminem 2ka9 - 09.03.2013, 14:21
Re: Make a command cost monay - by Denying - 09.03.2013, 14:26
Re: Make a command cost monay - by DaRk_RaiN - 09.03.2013, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)