05.09.2013, 11:42
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;
} // Here was the problem!
ShowPlayerDialog(playerid,BUYGUNS,DIALOG_STYLE_LIST,"Legal Weapons","MM9 {80FF00}$1000{FFFFFF}\nShotgun {80FF00}$5000{FFFFFF}\nRifle {80FF00}$10000","Select", "Back");
return 1;
}