Retrieve position of an object
#2

If you mean what I think you mean:

Use GetObjectPos, GetDynamicObjectPos in your case.

pawn Код:
new Float:objectx, Float:objecty, Float:objectz;
GetDynamicObjectPos( /* Objectid goes here, lets say*/ o1[playerid],  objectx, objecty, objectz );

// So you can do this
if(IsPlayerInRangeOfPoint(playerid, 8.0, objectx, objecty, objectz))
Reply


Messages In This Thread
Retrieve position of an object - by Drek - 05.08.2013, 00:46
Re: Retrieve position of an object - by Marricio - 05.08.2013, 00:51
Re : Retrieve position of an object - by Drek - 05.08.2013, 00:57
Re: Retrieve position of an object - by Marricio - 05.08.2013, 01:19
Re : Retrieve position of an object - by Drek - 05.08.2013, 01:21

Forum Jump:


Users browsing this thread: 1 Guest(s)