05.08.2013, 00:51
If you mean what I think you mean:
Use GetObjectPos, GetDynamicObjectPos in your case.
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))