franku Posted July 24, 2015 Share Posted July 24, 2015 how i make ball when i hit it. it move like real ball, please help me guys Link to comment
franku Posted July 24, 2015 Author Share Posted July 24, 2015 Like ball in this vedio Link to comment
Perfect Posted July 24, 2015 Share Posted July 24, 2015 You are probably trying to make a carball resource. There is one in the community which is just recently added. Here's the link: https://community.multitheftauto.com/in ... s&id=11717 Link to comment
Perfect Posted July 24, 2015 Share Posted July 24, 2015 (edited) Isn't that only a map? I am doubting that too. I didn't check it, but let's see. By chance, it's just a map then you can make what you want using the following functions. Events:- onClientVehicleCollision -- To check if a vehicle collides with a ball. Functions:- getElementType -- Too check if the collided element is a ball getElementVelosity -- To get the velocity of vehicle and change the velocity of ball according to it setElementVelocity -- Too change the velocity of the ball and maybe vehicle if you want. Edited July 24, 2015 by Guest Link to comment
franku Posted July 24, 2015 Author Share Posted July 24, 2015 ty. But how i can put ball in the script? Link to comment
LabiVila Posted July 24, 2015 Share Posted July 24, 2015 You can't, you need a full scripted gamemode for that. The resource Perfect gave to you just replaces three objects of MTA with some edited models (that's made for ffsgaming, as it just released a carball arena), that doesn't have to do with what you're looking for. As for the ball, you have to edit an object's model (as there are some balls already but some small ones that doesn't help you at all) then just math 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