unused dayz_disco variables commented out
player sync already does 10m nearby  gear update so only perform if no
sync was.
moved dayz_recordlogin to under !isNull _object check to prevent db call
if player isnull.
This commit is contained in:
[VB]AWOL
2013-10-27 09:27:45 -05:00
parent 668cd0c1c4
commit b19d85d32d
10 changed files with 24 additions and 17 deletions

View File

@@ -29,8 +29,8 @@
//Server only
if (isServer) then {
"PVDZE_plr_Died" addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerDied};
"PVDZE_plr_DiscAdd" addPublicVariableEventHandler {dayz_disco set [count dayz_disco,(_this select 1)];};
"PVDZE_plr_DiscRem" addPublicVariableEventHandler {dayz_disco = dayz_disco - [(_this select 1)];};
//"PVDZE_plr_DiscAdd" addPublicVariableEventHandler {dayz_disco set [count dayz_disco,(_this select 1)];};
//"PVDZE_plr_DiscRem" addPublicVariableEventHandler {dayz_disco = dayz_disco - [(_this select 1)];};
"PVDZE_plr_Save" addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerSync;};
"PVDZE_obj_Publish" addPublicVariableEventHandler {(_this select 1) call server_publishObj};
"PVDZE_veh_Update" addPublicVariableEventHandler {_id = (_this select 1) spawn server_updateObject};