How to check if player is near object
#6

pawn Код:
new Float:X,Float:Y,Float:Z;
GetObjectPos(fire,X,Y,Z);
if(IsPlayerInRangeOfPoint(playerid, 2.0,X,Y,Z)
{
//bla bla bla....
}
replace fire with fire object id (NOT MODEL !)
Reply


Messages In This Thread
How to check if player is near object - by BizzyD - 05.05.2011, 19:37
Re: How to check if player is near object - by System64 - 05.05.2011, 19:52
Re: How to check if player is near object - by BizzyD - 05.05.2011, 20:02
Re: How to check if player is near object - by Vince - 05.05.2011, 20:14
Re: How to check if player is near object - by BizzyD - 05.05.2011, 20:18
Re: How to check if player is near object - by DRIFT_HUNTER - 05.05.2011, 20:24
Re: How to check if player is near object - by System64 - 05.05.2011, 20:24
Re: How to check if player is near object - by alpha500delta - 05.05.2011, 22:02
Re: How to check if player is near object - by System64 - 06.05.2011, 06:36
Re: How to check if player is near object - by BizzyD - 06.05.2011, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)