OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Dwarden on 21 Jun 2009, 12:44:56
-
http://forums.bistudio.com/showpost.php?p=1319719&postcount=2
there was unfortunately typo in the readme about "GetPlayerID"
so correct usage syntax is
getPlayerUID unit;
works only in multiplayer
when used on AI it returns empty string
when used on player it returns "UID" (equal to one you see in profile)
also there is more surprises available and related to this
for OnPlayerConnected and OnPlayerDisconnected commands
is now returned third variable _uid which contains this "UID" too
-
Thanks Dwarden! :)