Placing items turn 45 degrees and invalid CharacterID

I ma having a little trouble. When I used the code:

Code:
PVDZE_veh_Publish2 = [_tmpbuilt,[_dir,_location],_classname,true,_charID,_activatingPlayer];
publicVariableServer  "PVDZE_veh_Publish2";

It would publish the CharacterID in the database correctly but turn the building about 45 degrees.

I then changed it to:

Code:
PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname];
publicVariableServer "PVDZE_obj_Publish";

In doing this, the building would set correctly, however the characterID is no longer saved and gives a value of 8 or 9 in this field.

I am completely lost. Does anyone know how to fix the second code to store a character ID (uid) instead of the single number, 9 in the database
 
Back
Top