Add basic security checks to object_killed

PVDZ_veh_Save = [_obj,"killed"]; could be abused in the same way as
server_deleteObj (42e0047)
This commit is contained in:
ebayShopper
2017-11-13 16:14:22 -05:00
parent 9fd8293246
commit eefcdf2610
5 changed files with 55 additions and 21 deletions

View File

@@ -68,7 +68,7 @@ player addMagazine _emptycan;
PVDZ_obj_Destroy = [_objectID,_objectUID,player,_obj,dayz_authKey,false];
publicVariableServer "PVDZ_obj_Destroy";
PVDZ_veh_Save = [_obj, "killed"];
PVDZ_veh_Save = [_obj,"killed",false,false,dayz_playerUID,dayz_authKey];
publicVariableServer "PVDZ_veh_Save";
//Set fire to item