19.09.2010, 18:11
pawn Код:
new weapondealer; //variable, could be helpful for this script
if(weapondealer == 0) //could be helpful for this script
weapondealer = 0; //could be helpful for this script
pawn Код:
if(!strcmp("/buyweapons", cmdtext,true))
{
if(!IsPlayerInRangeOfPoint(playerid, 2.0, 2817.7190,-1168.5554,1025.5778)
&& !IsPlayerInRangeOfPoint(playerid, 2.0, 2450.6052,-1694.2794,1013.5152))
return SendClientMessage(playerid, 0xFF9900AA,"You are not in /buyweapons checkpoint.");
ShowMenuForPlayer(weaponmenu,playerid);
return 1;
}