stock IsPlayerNearObject(playerid, objectid, Float:range){ new Float:X, Float:Y, Float:Z; GetObjectPos(objectid, X, Y, Z); if(IsPlayerInRangeOfPoint(playerid, range, X, Y, Z))return true; return false;}