ClosestFPlayer
Get the closest FPlayer to the given player/ped
Parameters description
Parameter
Type
Description
Default
Id
integer?
player server Id or ped or nil
current player
returnCloseFPlayers
boolean?
choose to receive all the close FPlayers
false
Return:
HRLibClientFPlayer? as closestFPlayer
HRLibCloseFPlayer[]? as closeFPlayers
Example
Last updated