Chlorek Posted November 11, 2011 Share Posted November 11, 2011 (edited) My code: createProjectile ( getLocalPlayer(), 19, x, y, z, 10, nil, rx, ry, rz-180, 0, 0, 0, 0) Variables rx, ry and rz are a vehicle rotation then I am using them to create projectile. And here is my problem, when my car is turned north or south is it working alright but when a car is turned (even a bit) east or west it doesn't work, bcuz projectile is created in wrong destination like in mirror (instead of moving some left it is moving some right). Plz help, I am scripting that from 2 hours and no progress Edited November 11, 2011 by Guest Link to comment
Wojak Posted November 11, 2011 Share Posted November 11, 2011 viewtopic.php?p=357503#p357503 Link to comment
Chlorek Posted November 11, 2011 Author Share Posted November 11, 2011 Thank you. I edited that code and it works perfectly 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