mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 19:06:29 +03:00
Remove ObjectID and ObjectUID from PVDZ_obj_Destroy calls
This is just the first commit for the removel of all global set ObjectIDs and ObjectUIDs. Also objects will no longer be send over the network. Only the netID will. The actual object can be resolved with the netID on the server.
This commit is contained in:
@@ -61,7 +61,7 @@ player addMagazine _emptycan;
|
||||
// Added Nutrition-Factor for work
|
||||
["Working",0,[20,40,15,0]] call dayz_NutritionSystem;
|
||||
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,player,_obj,dayz_authKey,false];
|
||||
PVDZ_obj_Destroy = [netID player,netID _obj,dayz_authKey,false];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
PVDZ_veh_Save = [_obj,"killed",false,false,dayz_playerUID,dayz_authKey];
|
||||
|
||||
Reference in New Issue
Block a user