19.11.2014, 17:54
Hello, I have been working on a SafeZone, and i wanted it so when you walked into the SafeZone it would disarm you, i've made this
but when i enter the safezone i still have my guns... can someone help me please
Код:
public OnPlayerUpdate(playerid) { 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; } } return 1; }