05.09.2013, 14:40
Try this
@IceBilizard you forgot a "}"
pawn Код:
CMD:buyguns(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 3.0, 308.2658, -140.7199, 999.6016))
{
SendClientMessage(playerid, COLOR_GRAD2, " You are not at the Goverment Ammunation!");
return 1;
}
else
{
ShowPlayerDialog(playerid,BUYGUNS,DIALOG_STYLE_LIST,"Legal Weapons","MM9 {80FF00}$1000{FFFFFF}\nShotgun {80FF00}$5000{FFFFFF}\nRifle {80FF00}$10000","Select", "Back");
return 1;
}
}