Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

GetNearestPlayer to detect if players are on logged on?

$
0
0
Will GetNearestPlayer give a null value if there are no players on the server? I'm looking to poll the server to see if any players are on the server before the pirate faction partakes in some activities that could be laggy to the server.

If no players are detected then it'll "do stuff." If there are players on, it'll wait until they aren't.

Viewing all articles
Browse latest Browse all 645

Trending Articles