Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if((player getVariable ['admin_mode','']) isEqualTo '') then {
- admin_gear = getUnitLoadout player;
- player setunitloadout [[],[],[],[],[],[],'','',[],['','','','','','']];
- player forceAddUniform 'U_I_CombatUniform';
- player setObjectTextureGlobal [0,'textures\server \mod.jpg'];
- player addItem 'ItemGPS';
- player assignItem 'ItemGPS';
- player setVariable ['admin_mode','MOD',true];
- player setVariable ['realname',format['<t color=''#8b417c''>%1 [Moderator]</t>',profileName],true];
- player allowDamage false;
- player setVariable['admin_godmode_status',true,true];
- ['Du bist nun als Moderator sichtbar!',true,"fast"] call life_fnc_notification_system;
- ['Dein Gott-Modus ist nun auch aktiv!',true,"long"] call life_fnc_notification_system;
- [13,player,[profileName,getplayeruid player,format['%1 hat den Moderator im Dienst Modus betreten.',profileName]]] remoteExecCall ['ton_fnc_rem_proxy',2];
- } else {
- player setVariable ['admin_mode','',true];
- player setUnitLoadout admin_gear;
- admin_gear = [];
- player setVariable ['realname',profileName,true];
- player allowDamage true;
- player setVariable['admin_godmode_status',false,true];
- ['Du bist nun nicht mehr als Moderator sichtbar!',true,"fast"] call life_fnc_notification_system;
- ['Dein Gott-Modus ist nun nicht mehr aktiv!',true,"long"] call life_fnc_notification_system;
- [13,player,[profileName,getplayeruid player,format['%1 hat den Moderator im Dienst Modus verlassen.',profileName]]] remoteExecCall ['ton_fnc_rem_proxy',2];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement