Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock IsPlayerInRangeOfAObject(playerid, objectid)
- {
- new Float:Pos[3];
- GetObjectPos(objectid, Pos[0], Pos[1], Pos[2]);
- if(IsPlayerInRangeOfPoint(playerid, range, Pos[0], Pos[1], Pos[2]))
- {
- return true;
- }
- return false;
- }
Add Comment
Please, Sign In to add comment