version 3.0
This commit is contained in:
15
functions/settings/fn_addRespawnChatHandler.sqf
Normal file
15
functions/settings/fn_addRespawnChatHandler.sqf
Normal file
@@ -0,0 +1,15 @@
|
||||
[
|
||||
"respawn",
|
||||
{
|
||||
_clientID = _thisArgs select 0;
|
||||
player setDamage 1;
|
||||
format["[MILSIM] (init) %1 claims they were glitched and respawned - %2", name player, netID player] remoteExec["diag_log", 2];
|
||||
format["%1 claims they were glitched and respawned (%2)", name player, netID player] remoteExec["systemChat", -_clientID];
|
||||
},
|
||||
"all",
|
||||
[clientOwner]
|
||||
] call CBA_fnc_registerChatCommand;
|
||||
|
||||
diag_log text "[MILSIM] (settings) respawn chat handler registered";
|
||||
|
||||
nil;
|
||||
Reference in New Issue
Block a user