Xwad Posted December 27, 2014 Posted December 27, 2014 Hi i want to have a script to my server that allows that the tank cant shoot many times in succession? I mean that if i shoot with the tank and then i can shoot again after 10 sec and after that the same. So if i shoot with the tank then i must wait 10 sec to shoot again.
manawydan Posted December 27, 2014 Posted December 27, 2014 you can try use: toggleControl setTimer and some tables
Xwad Posted December 28, 2014 Author Posted December 28, 2014 Thanks but i dont understand the scripting:( What must i do with that toggleControl setTimer?
Xwad Posted December 28, 2014 Author Posted December 28, 2014 or can you help me on skype? My name is Obersovszkyf
xeon17 Posted December 28, 2014 Posted December 28, 2014 Is this what you seach? https://community.multitheftauto.com/in ... ls&id=1280
Xwad Posted December 28, 2014 Author Posted December 28, 2014 MY GOD I LOVE YOU MAN!!!! VERY THANKS!!!!!!!!!!!!!!!!
Einheit-101 Posted December 28, 2014 Posted December 28, 2014 Just want to mention this resource will get an update in the next weeks... stay tuned.
xeon17 Posted December 28, 2014 Posted December 28, 2014 I also use this resource it's great , what will be new ?
Xwad Posted December 28, 2014 Author Posted December 28, 2014 And how can a make that the thank shoots farther?
xeon17 Posted December 28, 2014 Posted December 28, 2014 Edit this part of script: setTimer (function() guiProgressBarSetProgress ( bar, 10 ) end, 690, 1) setTimer (function() guiProgressBarSetProgress ( bar, 20 ) end, 1400, 1) setTimer (function() guiProgressBarSetProgress ( bar, 30 ) end, 2100, 1) setTimer (function() guiProgressBarSetProgress ( bar, 40 ) end, 2800, 1) setTimer (function() guiProgressBarSetProgress ( bar, 50 ) end, 3500, 1) setTimer (function() guiProgressBarSetProgress ( bar, 60 ) end, 4200, 1) setTimer (function() guiProgressBarSetProgress ( bar, 70 ) end, 4900, 1) setTimer (function() guiProgressBarSetProgress ( bar, 80 ) end, 5600, 1) setTimer (function() guiProgressBarSetProgress ( bar, 90 ) end, 6300, 1) setTimer (function() guiProgressBarSetProgress ( bar, 100 ) end, 6910, 1) setTimer (toggle2, 7000, 1)
Xwad Posted December 28, 2014 Author Posted December 28, 2014 Whitch part? Do you mean that? setTimer (toggle2, 7000, 1)
Xwad Posted December 28, 2014 Author Posted December 28, 2014 I mean that the tank will have more range shoot
xeon17 Posted December 28, 2014 Posted December 28, 2014 Oh haven't understood you, i thought you wanted to edit the time of rhino reload.
MTA Team botder Posted December 29, 2014 MTA Team Posted December 29, 2014 I mean that the tank will have more range shoot I would suggest using getVehicleTurretPosition, getElementPosition, math.cos, math.sin, triggerServerEvent, triggerClientEvent and createExplosion
MTA Team botder Posted December 29, 2014 MTA Team Posted December 29, 2014 http://en.wikipedia.org/wiki/Trigonometry Mathematical functions.
Xwad Posted December 29, 2014 Author Posted December 29, 2014 oh ok but unfortunately i cant do that script i need help:(
Einheit-101 Posted December 29, 2014 Posted December 29, 2014 Wait for the update of vreload in 2-3 days. You will get a new cannon for the Rhino (not this silly explosion in 20 meters distance) with physics and you can set the time of reload on top of the script file.
Xwad Posted December 30, 2014 Author Posted December 30, 2014 but is in the update a new script that makes possible to shoot farther with Rhino?
Einheit-101 Posted December 30, 2014 Posted December 30, 2014 Yes. I hope i can upload it tomorrow... But my time is limited. I do my best.
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