CheiN Posted October 19, 2012 Share Posted October 19, 2012 Hola guys, this is the sh*t, i was making a script but making it i was confused with the setElementVelocity, can someone correct me? local x,y,z = getElementPosition (theVehicle) local ocup = getOcuppedVehicle (thePlayer) local marker1 = createMarker ( x,y,z, xr,yr,zr, "corona", 2.2, 255, 0, 123, 120 ) local xr,yr,zr = getElementRotation function MarkerHit( hitElement, matchingDimension ) local elementType = getElementType( hitElement ) blowVehicle (theVehicle) speedx, speedy, speedz = getElementVelocity (marker1) setElementVelocity ( marker1, speedx, speedy + 4, speedz) end bindKey ("rctrl","down", leshot) addEventHandler ("onMarkerHit", marker1, MarkerHit) Like germans says: Danke!!!! Link to comment
Castillo Posted October 20, 2012 Share Posted October 20, 2012 That doesn't make any sense, I recommend you to learn the basics. Link to comment
Techial Posted October 20, 2012 Share Posted October 20, 2012 Well first of all, why do you need the velocity? Second of all, did you even make this script? 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