09.03.2013, 14:16
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;
}