Forum Jump :

Author Message

Posts: 1189

Level: Member

Country: tr
Occupation: Computer Science student
Age: 22
In-game name: Wak

#183607 Posted at 2015-10-29 09:08        
Pierre how about this code for multiplayer? Does the same.
if (!isServer) exitWith {};
_player = allPlayers select 0;
if (!isPlayer leader _player) then {
		if (isPlayer _x) exitWith {
			[group _x, _x] remoteExec ["selectLeader", groupOwner (group _x)];
	} forEach units _player;

Sometimes I like to think as I started the whole "earplugs" thing.

W0lle: The only advice I can give you is: Do not try to understand BI. You will not succeed and it only makes your brain go boom. I would even go so far and say that not even they understand their own actions :-D.

#define getDamage getDammage

Tags: Group, Scripting, Talk