if(IsPlayerInRangeOfPoint(playerid,playerid, Float:radius, Float:x, Float:y, Float:z)) { if(Weapon[playerid]==1) { ResetPlayerWeapons(playerid); } }