ginco Posted January 16, 2011 Share Posted January 16, 2011 Guys I Need Help for my pop tire script I'm going to use it for my server popTires = true function breakCar() if popTires == true then setVehicleWheelStates( source, 1, 1, 1, 1 ) -- If popTires is true, pop all of the vehicle's tires end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), breakCar) addCommandHandler ( "pop", breakCar ) well if your asking i stole it.......i extracted it from a script called carwrecked by TonyFox so all credits is to him but i need help.......... pls Link to comment
SDK Posted January 16, 2011 Share Posted January 16, 2011 popTires = true function breakCar(player, cmd) if popTires == true then setVehicleWheelStates( getPedOccupiedVehicle(player), 1, 1, 1, 1 ) end end addCommandHandler ( "pop", breakCar ) Link to comment
ginco Posted January 16, 2011 Author Share Posted January 16, 2011 thank you very much 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