Files
AltisLifeFramework/Altis_Life.Altis/SpyGlass/fn_notifyAdmins.sqf
Benjamin Kyd c8014ec81e initial commit
2019-06-05 00:45:50 +01:00

13 lines
516 B
Plaintext

#include "..\script_macros.hpp"
/*
File: fn_notifyAdmins.sqf
Author: Bryan "Tonic" Boardwine
Description:
Checks if player is admin and notifies them that of the
flagged person.
*/
if (isServer && !hasInterface) exitWith {}; //NO SERVER DO NOT EXECUTE IT!
if (FETCH_CONST(life_adminlevel) < 1) exitWith {};
hint parseText format ["<t align='center'><t color='#FF0000'><t size='3'>SPY-GLASS</t></t><br/>Cheater Flagged</t><br/><br/>Name: %1<br/>Detection: %2",(_this select 0),(_this select 1)];