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