Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock IsPlayerInRangeOfObject(playerid, objectid, Float:range) //By DarKRaiN
- {
- if(IsObjectConnected(objectid))
- {
- new Float:x1, Float:y1, Float:z1;
- GetObjectPos(objectid, x1, y1, z1);
- return IsPlayerInSphere(playerid,x1,y1,z1,range);
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement