mirror of
https://github.com/hpy/Enigma_Exile_Revive.git
synced 2024-08-30 16:52:15 +00:00
ooooooooo
This commit is contained in:
parent
dca955e6a0
commit
8b21d094ce
Binary file not shown.
@ -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];
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user