Jump to content
  • 0

Arma 3 Nameplates/tags


Friendly

Question

Once I get this working it will be released, but having one problem. It is detected as a hack on the epoch mod antihack and bans the players over and over again until freezing the admins.

 

Nameplates.sqf

TAGS = addMissionEventHandler ["Draw3D", {
    {
		if (side _x == side player && {alive _x }) then {;
            _dist = (player distance _x) / 8;
            _color = getArray (configFile/'CfgInGameUI'/'SideColors'/'colorFriendly');
            if (cursorTarget != _x) then {
                _color set [3, 1 - _dist]
            };
            drawIcon3D [
                '',
                _color,
                [
                    visiblePosition _x select 0,
                    visiblePosition _x select 1,
                    (visiblePosition _x select 2) +
                    ((_x modelToWorld (
                        _x selectionPosition 'head'
                    )) select 2) + 0.4 + _dist / 1.5
                ],
                0,
                0,
                0,
                name _x,
                2,
                0.03,
                'PuristaMedium'
            ];
        };
    } count playableUnits - [player];
}];
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...