Jump to content
Sign in to follow this  
[kh]jman

getting the player's score after disconnect?

Recommended Posts

On a dedicated server how do I reference the player's object after onplayerdisconnect to for example, reference the player's score? It's not that obvious since the player UID is no longer in the playableUnits array.

Edited by [KH]Jman

Share this post


Link to post
Share on other sites

For info:

I achieved this by creating a PV multi dimentional array of all the players during onPlayerConnected and add their score values via EH's. onPlayerDisconnect I find the player's array via the _uid reference and target the score element contained within.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×