ClosestIPlayer
Get the nearest IPlayer to the given ped/player
Parameters description
Parameter
Type
Description
Default
Id
integer?
player server Id or ped or nil
current player
returnCloseIPlayers
boolean?
choose to receive all the close IPlayers
false
Return:
HRLibClientIPlayer? closestIPlayer
HRLibCloseIPlayer[]? closeIPlayers
Example
Last updated