isplayerinrangeofpoint
#6

I just mentioned it maybe he wants to check it out.

Anyway IsPlayerInRange isn't between players, it's almost the same as IsPlayerInRangeOfPoint only shorter and with more options

pawn Код:
IsPlayerInRange

Returns 1 if if they are, 0 if they aren't
Parameters:
(playerid, Float: Range, Float: Z_Range, Float:tar_x, Float:tar_y, Float:tar_z)
playerid    The playerid you want to query
Float:Range The range the player can be in
Float:Z_Range   The height range the player can be in
Float:tar_x The x value for the point
Float:tar_y The y value for the point
Float:tar_z The z value for the point
Returns 1 if they are in the range, 0 if they aren'
t
IsPlayerInRange(2, 2.0, 2.0, 4.0, 4.0, 4.0);
Reply


Messages In This Thread
isplayerinrangeofpoint - by Matthew_Johnston - 10.07.2010, 11:20
Re: isplayerinrangeofpoint - by Mystique - 10.07.2010, 11:28
Re: isplayerinrangeofpoint - by Calgon - 10.07.2010, 11:28
Re: isplayerinrangeofpoint - by Cameltoe - 10.07.2010, 11:34
Re: isplayerinrangeofpoint - by Calgon - 10.07.2010, 11:41
Re: isplayerinrangeofpoint - by Cameltoe - 10.07.2010, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)