ACE3/addons/common/functions/fnc_adminKick.sqf
2015-01-12 19:22:58 +01:00

9 lines
239 B
Plaintext

// by commy2
#include "\z\ace\addons\common\script_component.hpp"
private "_name";
_name = name (_this select 0);
[_name, "{if (serverCommandAvailable '#kick') then {serverCommand format['#kick %1', _this]}}"] call FUNC(execRemoteFnc);