04.06.2014, 09:18
Quote:
Is this also include if they spawn a weapon in the radius, doest it be reset also?
|
Код:
new g_iWeaponExcepted[MAX_PLAYERS]; if(IsPlayerAdmin(playerid)) //if the player is an RCON admin they can use a gun in the area g_iWeaponExcepted[playerid] = 1; if(IsPlayerInRangeOfPoint(playerid, 50.0, x, y, z) && g_iWeaponExcepted[playerid] != 1) { //disarms the player }