13.12.2014, 13:15
pawn Код:
CMD:weapons(playerid, params[])
{
if(PInfo[playerid][Army]) {
ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "AK47\nM4\nSniper Rifle", "Buy", "Cancel");
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not an army officer!");
return 1;
}
}