Jump to content
Sign in to follow this  
Blueblood

Searching for a players name

Recommended Posts

I had a look around for this and found a few threads but they didn't really help me. I want to be able to compare the in-game names of every player that joins the mission to a predefined name. I know that this is possible with UID's but I would prefer to have the name. Any help would be greatly appreciated!

Share this post


Link to post
Share on other sites

in multiplayer name always returns profileName.

so you could do something like

_member1 = ["Blueblood"];
if ((name player) in _member1) then
{
_unit = (player);
removeAllWeapons _unit;
removeBackPack _unit;
or do some other code...
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×