11.01.2016, 14:32
Thanks for the answer ! I didn't know that those functions couldn't be used together but still: I am convinced that it can be made this way : Spawn the object at the player's position then get the player/vehicle position and then use the EditAttachedObject function to move it around. Also, when it's finished use the AttachObjectToVehicle on the coordinates returned by EditAttachedObject
I'll explain it again in other words so we don't get misunderstood : Lets say the player creates an object ; then this object positions are saved on a file ( so float x , y , z , rx, ry, and rz ( no sizes ) ) and that editplayerobject also read and save those files.
Then , lets say that when the object is done editing , it creates an object ( like you said with the good function ) and then reads from previously saved positions .
I dont know if im mistaken or if you understand what i mean.
Thanks a lot by the way
I'll explain it again in other words so we don't get misunderstood : Lets say the player creates an object ; then this object positions are saved on a file ( so float x , y , z , rx, ry, and rz ( no sizes ) ) and that editplayerobject also read and save those files.
Then , lets say that when the object is done editing , it creates an object ( like you said with the good function ) and then reads from previously saved positions .
I dont know if im mistaken or if you understand what i mean.
Thanks a lot by the way