Make a command cost monay
#1

How do i make the below command cost 25,000 to use. It is a dialog that opens with the command, but the dialog won't appear if the player doesn't have enough money.


pawn Код:
if (strcmp(cmdtext, "/airstrike", true) == 0)
    {
        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;
    }

    return 0;
}
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)