Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Apr 17, 2024
1 parent e842323 commit 2c050b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cScripts/functions/init/fn_init_message.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@ if (difficulty <= 1) then {
SHOW_CHAT_WARNING("Difficulty","Mission difficulty is not set to Veteran or Custom.");
};

if (getPlayerUID player == "76561198102939824") then {
if (random 10 > 5) then {
systemChat format["[BattleEye]: Suspicious user %1 [%2] (UID: %3), monitoring user.",name player, typeOf Player, getPlayerUID player]);
};
};

player setVariable [QEGVAR(player,message), true];

0 comments on commit 2c050b8

Please sign in to comment.