Jaysds1 Posted August 9, 2012 Posted August 9, 2012 You could use a colshape and for every mech, create a col for every vehicle My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Jokeℝ1472771893 Posted August 10, 2012 Posted August 10, 2012 lol for every vehicle it would be very hard is their any other way?
Jaysds1 Posted August 10, 2012 Posted August 10, 2012 lol, ok, you could use: OnClientVehicleCollision My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Jaysds1 Posted August 10, 2012 Posted August 10, 2012 well, you get the element that made contact with the vehicle and check if it's a player, and if it is, check what team they're on, if they're in the mech team then set the player's element data (the mech) to the vehicle, example: setElementData(source,"MechCloseVeh",theVehcile) after that, set a timer to set the player's element data to nil or false, but while the timer is going, add the command and when they type in the command, check if the "MechCloseVeh" is a veh not nil or false, if it is, then fix the vehicle. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
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