update logging, add netId to player info, logmissioninfo

This commit is contained in:
2024-01-30 18:24:55 -08:00
parent ac9509244f
commit 8c40b107a5
6 changed files with 42 additions and 53 deletions

View File

@@ -3,11 +3,15 @@
{
_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];
// log to server RPT
[
"init",
"CHAT COMMAND RESPAWN",
[player] call milsim_fnc_addPlayerInfoToArray
] remoteExec ["milsim_fnc_log", 2];
// systemChat to all remote machines
format["%1 claims they were glitched and respawned (%2)", name player, netID player] remoteExec["systemChat", -_clientID];
},
"all",