IsPlayerInRangeOfPoint: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
::raidus : The radius (as Float) about a point you want to check if the player is within. | ::raidus : The radius (as Float) about a point you want to check if the player is within. | ||
::point : This is a [[Vector]] which has 3 components. Checks if the player is around this point.</poem>| | ::point : This is a [[Vector]] which has 3 components. Checks if the player is around this point.</poem>| | ||
retvals=true, if the player is within the circle; false, otherwise.| | retvals='''true''', if the player is within the circle; '''false''', otherwise.| | ||
}} | }} |
Revision as of 15:51, 24 March 2022
Description:
Checks whether a player is within an area ( around a point with specified radius ).
Parameters:
(playerid, radius, point)
playerid : The ID of the player whom you want to check if within an area.
raidus : The radius (as Float) about a point you want to check if the player is within.
point : This is a Vector which has 3 components. Checks if the player is around this point.
Return Values:
true, if the player is within the circle; false, otherwise.