24.06.2011, 18:59
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/buyweaps", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 100.0, 292.2005,-35.0779,1001.5156)) return SendClientMessage(playerid,0xFFFFFFf,"Working...");
else return SendClientMessage(playerid, 0xFFFFFFAA,"you must in the ammunation store!");
}
return 1;
}
EDIT: lol