bradio10 Posted March 25, 2013 Share Posted March 25, 2013 Hi, today, I wanted to create a small script so I could use it to practice shooting with a hydra. So I made a script that would created a vehicle at my position. function createCar() local x, y, z = getElementPosition (localPlayer) createVehicle (550, x, y, z) end addCommandHandler ("create", createCar) But for some reason, I can't enter the vehicle, nor will it explode. How do I make it explode and make it enterable? It's clientside by the way. Thanks. Link to comment
ixjf Posted March 25, 2013 Share Posted March 25, 2013 (edited) Client-side vehicles aren't synced with the server. Edited May 2, 2013 by Guest Link to comment
PaiN^ Posted March 25, 2013 Share Posted March 25, 2013 Do it server side and move it a couple Inches from your position .. Link to comment
bradio10 Posted March 25, 2013 Author Share Posted March 25, 2013 All works now guys, thanks. 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