Guest User

Untitled

a guest
May 23rd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. stock IsPlayerInRangeOfAObject(playerid, objectid)
  2. {
  3. new Float:Pos[3];
  4. GetObjectPos(objectid, Pos[0], Pos[1], Pos[2]);
  5. if(IsPlayerInRangeOfPoint(playerid, range, Pos[0], Pos[1], Pos[2]))
  6. {
  7. return true;
  8. }
  9. return false;
  10. }
Add Comment
Please, Sign In to add comment