SantiagoGC34 Posted February 10, 2025 Share Posted February 10, 2025 Hello community! I am developing a Roleplay server and when trying to add a function to the vehicles.lua script so that the vehicles are not damaged if they are hit with fists or kicks, but only damaged if a weapon is used or when colliding with the car itself. How can I do it? I have already tried 100 types of events and functions and the vehicle parts continue to be damaged. Any kind of help? Thank you very much in advance Link to comment
Sensacion Posted February 11, 2025 Share Posted February 11, 2025 onClientVehicleDamage() cancelEvent() 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