ooooooooo

This commit is contained in:
happydayz 2016-09-03 14:34:44 +10:00
parent dca955e6a0
commit 8b21d094ce
3 changed files with 10 additions and 8 deletions

View File

@ -329,7 +329,6 @@ call ExileServer_system_network_send_to;
[_sessionID, _player] call ExileServer_system_session_update;
[_requestingPlayer] joinSilent ExileServerGraveyardGroup;
deleteVehicle _requestingPlayer;
EnigmaRevive = [_player,_requestingPlayer];

View File

@ -64,13 +64,16 @@ player setVariable["antidupe", 1, true];
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////EventHandlers//////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
"EnigmaRevive" addPublicVariableEventHandler {
private["_newPlayerObject","_oldPlayerObject","_packet","_weapon","_reviver"];
_packet = _this select 1;
_newPlayerObject = _packet select 0;
_oldPlayerObject = _packet select 1;
deleteVehicle _oldPlayerObject; //because the server doesnt seem to be doing its job
"EnigmaRevive" addPublicVariableEventHandler
{
private["_newPlayerObject","_oldPlayerObject","_packet","_weapon","_reviver"];
_packet = _this select 1;
_newPlayerObject = _packet select 0;
_oldPlayerObject = _packet select 1;
if !(isNil "_oldPlayerObject") then
{
deleteVehicle _oldPlayerObject; //because the server doesnt seem to be doing its job
};
if (alive _newPlayerObject) then
{
if (isPlayer _newPlayerObject) then