getNearestPlayerID
Export Syntax
exports['viority_supportid']:getNearestPlayerID(MaxDistance)
PARAMETER
- MaxDistance (STRING) (OPTIONAL) -> Max Distance, if not set, 5.0 will be used
Example Export
exports['viority_supportid']:getNearestPlayerID() --> Returns the SupportID of the nearest player!
info
It will be return false when no one is around.