Tuliq 2 Posted June 6, 2013 Hi, anyone know how to test for if a player has left the server? In other words, if I have a variable that refers to a player, what will this variable refer to when the player has disconnected? Share this post Link to post Share on other sites
killzone_kid 1331 Posted June 7, 2013 if (isNull _yourPlayerreference) then { //player has left } but better is to use onPlayerDisconnected event http://community.bistudio.com/wiki/onPlayerDisconnected Share this post Link to post Share on other sites
Tuliq 2 Posted June 7, 2013 thanks, onplayerdisconnected mixed with some UID magic did the trick. Share this post Link to post Share on other sites