Royal
Member
Also, I tried your fix for my server_playerdied.sqf by changing
toCode:_victim = _this select 2;
but it doesn't work and I get this errorCode:_victim = _this select 5;
Code:18:22:39 WARNING: Function 'name' - C. Blackburn is dead 18:22:39 Error in expression <ect 3; _playerName = name _newObject; _victim removeAllEventHandlers "MPHit"; > 18:22:39 Error position: <_victim removeAllEventHandlers "MPHit"; > 18:22:39 Error Undefined variable in expression: _victim 18:22:39 File z\addons\dayz_server\compile\server_playerDied.sqf, line 11
Im not sure what is going on I'm a bit confused on what files you are using and what not
if you use the player_died in your original post try: _victim = _this select 9;