Xwad Posted December 27, 2014 Share 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. Link to comment
manawydan Posted December 27, 2014 Share Posted December 27, 2014 you can try use: toggleControl setTimer and some tables Link to comment
Xwad Posted December 28, 2014 Author Share Posted December 28, 2014 Thanks but i dont understand the scripting:( What must i do with that toggleControl setTimer? Link to comment
Xwad Posted December 28, 2014 Author Share Posted December 28, 2014 or can you help me on skype? My name is Obersovszkyf Link to comment
xeon17 Posted December 28, 2014 Share Posted December 28, 2014 Is this what you seach? https://community.multitheftauto.com/in ... ls&id=1280 Link to comment
Xwad Posted December 28, 2014 Author Share Posted December 28, 2014 MY GOD I LOVE YOU MAN!!!! VERY THANKS!!!!!!!!!!!!!!!! Link to comment
Einheit-101 Posted December 28, 2014 Share Posted December 28, 2014 Just want to mention this resource will get an update in the next weeks... stay tuned. Link to comment
xeon17 Posted December 28, 2014 Share Posted December 28, 2014 I also use this resource it's great , what will be new ? Link to comment
Xwad Posted December 28, 2014 Author Share Posted December 28, 2014 And how can a make that the thank shoots farther? Link to comment
xeon17 Posted December 28, 2014 Share 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) Link to comment
Xwad Posted December 28, 2014 Author Share Posted December 28, 2014 Whitch part? Do you mean that? setTimer (toggle2, 7000, 1) Link to comment
Xwad Posted December 28, 2014 Author Share Posted December 28, 2014 I mean that the tank will have more range shoot Link to comment
xeon17 Posted December 28, 2014 Share Posted December 28, 2014 Oh haven't understood you, i thought you wanted to edit the time of rhino reload. Link to comment
Xwad Posted December 29, 2014 Author Share Posted December 29, 2014 no the shooting range Link to comment
Xwad Posted December 29, 2014 Author Share Posted December 29, 2014 no the shooting range Link to comment
Xwad Posted December 29, 2014 Author Share Posted December 29, 2014 how to make more range shoot? Link to comment
MTA Team botder Posted December 29, 2014 MTA Team Share 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 Link to comment
Xwad Posted December 29, 2014 Author Share Posted December 29, 2014 What is math.cos, math.sin? Link to comment
MTA Team botder Posted December 29, 2014 MTA Team Share Posted December 29, 2014 http://en.wikipedia.org/wiki/Trigonometry Mathematical functions. Link to comment
Xwad Posted December 29, 2014 Author Share Posted December 29, 2014 oh ok but unfortunately i cant do that script i need help:( Link to comment
Einheit-101 Posted December 29, 2014 Share 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. Link to comment
Xwad Posted December 29, 2014 Author Share Posted December 29, 2014 cool then i wait! Link to comment
Xwad Posted December 30, 2014 Author Share Posted December 30, 2014 but is in the update a new script that makes possible to shoot farther with Rhino? Link to comment
Einheit-101 Posted December 30, 2014 Share Posted December 30, 2014 Yes. I hope i can upload it tomorrow... But my time is limited. I do my best. 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