I am trying to change the ownership (characterID) of an object. I am using swap object, but it doesn't seem to be removing the old object and adding the new one, nor adding it to the database. Am I doing something wrong? There are no errors in the .rpt file.
This is being run server side.
swapObject
This is being run server side.
Code:
_classname = typeOf _x; _object = createVehicle [_classname, [0,0,0], [], 0, "CAN_COLLIDE"]; _objCharID = _charID; _dir = getDir _x; _loc = _x getVariable["OEMPos", (getposATL _x)]; _object setDir...