19 lines
516 B
Plaintext
19 lines
516 B
Plaintext
[
|
|
"respawn",
|
|
{
|
|
_clientID = _thisArgs select 0;
|
|
player setDamage 1;
|
|
format[
|
|
"[MILSIM] (init) CHAT COMMAND RESPAWN playerNetID=%1 %2",
|
|
player call BIS_fnc_netId,
|
|
[player] call milsim_fnc_getPlayerLogString
|
|
] 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; |