19.11.2014, 17:56
Try:
Also check if coordinates are correct.
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInArea(playerid, 2972.0000, 581.7188, 676.0000, 2930.0000))
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(X >= 2972.0000 && X <= 581.7188 && Y >= 676.0000 && Y <= 2930.0000)
{
ResetPlayerWeapons(playerid);
}
}
return 1;
}