how to use PlayerToPoint?
#2

pawn Код:
if(PlayerToPoint(RADIUS, playerid, X_POS, Y_POS, Z_POS))
{
// code.
}
Example:
pawn Код:
if(PlayerToPoint(5.0, playerid, 0.0, 0.0, 0.0))
{
// code.
}
This will check if playerid is at x, y, z coords (which are setted as 0.0, 0.0, 0.0 in this case) within the radius range (which is setted as 5.0 in this case).
Reply


Messages In This Thread
how to use PlayerToPoint? - by sandisk125 - 19.08.2009, 00:09
Re: how to use PlayerToPoint? - by Correlli - 19.08.2009, 00:14
Re: how to use PlayerToPoint? - by sandisk125 - 19.08.2009, 01:07
Re: how to use PlayerToPoint? - by Correlli - 19.08.2009, 01:08
Re: how to use PlayerToPoint? - by sandisk125 - 19.08.2009, 01:30
Re: how to use PlayerToPoint? - by ilikepie2221 - 19.08.2009, 01:33
Re: how to use PlayerToPoint? - by Correlli - 19.08.2009, 01:50
Re: how to use PlayerToPoint? - by sandisk125 - 19.08.2009, 01:56
Re: how to use PlayerToPoint? - by Correlli - 19.08.2009, 02:23
Re: how to use PlayerToPoint? - by sandisk125 - 19.08.2009, 03:09

Forum Jump:


Users browsing this thread: 1 Guest(s)