Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <macro.h>
- /*
- File: fn_adminFreeze.sqf
- Author: ColinM9991
- Description: Freezes selected player
- */
- if(__GETC__(life_adminlevel) < 3) exitWith {closeDialog 0; hint localize "STR_ANOTF_ErrorLevel";};
- private["_unit"];
- _unit = lbData[2902,lbCurSel (2902)];
- _unit = call compile format["%1", _unit];
- if(isNil "_unit") exitWith {};
- if(isNull _unit) exitWith {};
- if(_unit == player) exitWith {hint localize "STR_ANOTF_Error";};
- if(__GETC__(life_adminlevel) == 3) then {[[0,format["%1 hat einen Spieler eingefroren",profileName]],"life_fnc_broadcast",nil,false] spawn life_fnc_MP;};
- [[player],"life_fnc_freezePlayer",_unit,false] spawn life_fnc_MP;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement