HawkGB 1 Posted July 23, 2012 Ahoy there, I'm currently writing a set of scripts which requires me to broadcast a variable to a single user when connected to the server. I've tried calling the new "publicVariableClient" function using the "_id" argument that is passed to onPlayerConnected, however it doesn't seem to accept session IDs. My question is: for a server side only script, how would I get the the client ID and send this variable using publicVariableClient when the player connects? Regards, Will Share this post Link to post Share on other sites
Muzzleflash 111 Posted July 23, 2012 Note as of ArmA 2 version 1.02 this function returns also variable _uid with uniqueID of player. So you can get the id of the player when he joins. Personally I would only use onPlayerConnected if I have total say over the mission - and then probably not - since it kind of a only-one-script-at-a-time thing. Share this post Link to post Share on other sites