11.10.2014, 05:39
pawn Код:
if (strcmp("/guns", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, Range, My Coords X, Y, Z))
{
SendClientMessage(playerid,0xFFFFFFFF,"You are not in the area");
}
else
{
ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "AmmuNation", "Pistols\nSub-Machine Gun\nShotguns\nArmours\nSMG\nAssault", "Select", "Cancel");
return 1;
}
return 1;
}