TorNix~|nR Posted November 11, 2016 Share Posted November 11, 2016 hi everyone I'm using script speaker, when I spawn it, it spawns behind me I need it spawns, it spawns on my back can anyone help? normal code: speakerBox [ source ] = createObject ( 2229, x-0.5, y+0.5, z - 1, 0, 0, rx ) thank you. Link to comment
Chainsaw Posted November 12, 2016 Share Posted November 12, 2016 Where do you want to spawn the object? 1 Link to comment
TorNix~|nR Posted November 12, 2016 Author Share Posted November 12, 2016 to the back of the player Link to comment
koeno100 Posted November 12, 2016 Share Posted November 12, 2016 Use getPedBonePosition attachElements First get the position of the spine, spawn the speaker on that position and then attach the box to your player using attachElements Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now