Jump to content
  • 0

Custom Info-Board


lucho

Question

Its possible to make by info board more information

 

for example:  Players Online, Players Humanity?

 

here are default files

 

fn_selfactions.sqf

   //Player Deaths
    if(_typeOfCursorTarget == "Info_Board_EP1") then {
        if (s_player_information < 0) then {
            s_player_information = player addAction [localize "STR_EPOCH_ACTIONS_MURDERS", "\z\addons\dayz_code\actions\list_playerDeaths.sqf",[], 7, false, true, "",""];
        };
    } else {
        player removeAction s_player_information;
        s_player_information = -1;
    };

 

list_playerDeaths.sqf

 

 

private [];

 

PVDZE_plr_DeathB = [player];
publicVariableServer  "PVDZE_plr_DeathB";

waitUntil {!isNil "PVDZE_plr_DeathBResult"};

if((count PVDZE_plr_DeathBResult) > 0) then {
    // load death message board ui
    call EpochDeathBoardLoad;
} else {
    cutText [(localize "str_epoch_player_36"), "PLAIN DOWN"];
    PVDZE_plr_DeathBResult = nil;
};

 

 

Here is only kills to see

 

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...