I have a question about onPlayerDisconnected. When i use it like this,
onPlayerDisconnected "[_id, _name, _uid] execVM "PlayerDisconnected.sqf";
_uid always gives me a number like 1.4253e+006 which is actualy the player ID but just with some zeros added to the end. I know from the wiki page that the value is returned in a float format.
_uid = getPlayerUID vehicle player;
getPlayerUID Gives me the player ID in a correct format like 942107.
For example if i want to compare these both values how do i get the one from onPlayerDisconnected in a correct format? Other question. What purpose or use does the float value has? Any help is much appreciated on this.
Edited by MAD T, 20 February 2011 - 11:36.