Xwad Posted January 1, 2015 Share Posted January 1, 2015 Hi is it possible to make a second rhino in mta? is there any rescource or script?Thanks! And happy new year! Link to comment
xeon17 Posted January 1, 2015 Share Posted January 1, 2015 What do you mean by second rhino? if you mean to replace the model(look) of a other vehicle to a rhino then it's possible with the following functions, engineLoadTXD engineImportTXD engineLoadDFF engineReplaceModel Rhino model is 432 If you mean to create a vehicle which can damage/shot like a rhino then use, createProjectile Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 No i dont want skins i just want to make one more tank:D yeah demage/shoot like a rhino! createprojectile?need i copy the example? this? -- This function gets triggered everytime player shoots. function onClientPlayerWeaponFireFunc(weapon,ammo,ammoInClip,hitX,hitY,hitZ,hitElement) if weapon == 38 then -- if source is a local player and he uses minigun... x,y,z = getElementPosition(getLocalPlayer()) if not createProjectile(getLocalPlayer(),19,x,y,z,200) then -- then we either create a projectile... outputChatBox ( "Rocket minigun overheated! Give it a rest pal!", source ) -- or if projectile limit is reached we output player a chat message end end end -- Don't forget to add the onClientPlayerWeaponFireFunc function as a handler for onClientPlayerWeaponFire. addEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), onClientPlayerWeaponFireFunc) Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 i want to add this script for the S.W.A.T. vehicle Link to comment
xeon17 Posted January 1, 2015 Share Posted January 1, 2015 No,that example won't do that what you want. Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 why? Then what does this example do? Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 i just want to have a script that allows to shoot with S.W.A.T. vehicle like a rhino Link to comment
xeon17 Posted January 1, 2015 Share Posted January 1, 2015 bindKey getPedOccupiedVehicle getElementModel getElementPosition createProjectile setTimer I guess you'll need to use the following functions to create it, i never tried to create this so if i'm wrong someone correct me please. Or seach on forum or community for "shooter" ,idk. Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 Oh cool thanks! So need i crate 6 lua file and write this examples into the lua files? Link to comment
xeon17 Posted January 1, 2015 Share Posted January 1, 2015 No, you need to use these functions to script that what you want, omg... Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 oh write this all in one lua? Link to comment
xeon17 Posted January 1, 2015 Share Posted January 1, 2015 You don't know or don't want to script,trying to help you is wasting of time. I'm out Link to comment
Banex Posted January 1, 2015 Share Posted January 1, 2015 https://wiki.multitheftauto.com/wiki/Sc ... troduction Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 i dont understand it. i cant script! is there any rescource for this? Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 Banex thx but it does not help becaouse it just write that how to make a simple script. But it does not tels how to make this script and does not tell what do i need to copy. Link to comment
Gallardo9944 Posted January 1, 2015 Share Posted January 1, 2015 <...> what do i need to copy. Scripting isn't a work of copy-pasting. The tutorials on wiki are pretty clear though. But if you desire to just copy, here is the suggestion given: <...> Or seach on forum or community for "shooter" <...> Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 i found nithing:( But if you are help me making this script then i will never create questions on forum!! Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 whitch examples of the functions do i need? Link to comment
Xwad Posted January 1, 2015 Author Share Posted January 1, 2015 Scripting isn't a work of copy-pasting. The tutorials on wiki are pretty clear though. But if you desire to just copy, here is the suggestion given: you sad not copy and pase here it tells me to copy and paste Note that in the tag above, the .lua file is not under another directory. Therefore we'll create the file in the same folder as meta.xml. Now you can copy and paste the following code into script.lua: Link to comment
ViRuZGamiing Posted January 2, 2015 Share Posted January 2, 2015 Xwad I understand your problem, I also agree on improving the introduction to scripting with more explanation about the types like variable, etc. But apart from that I've occured the same problem and would like to give you some basics of scripting in my spare time. Add me on my scripting skype; viruzgamiing or PM me. Regards Viruz Link to comment
Xwad Posted January 2, 2015 Author Share Posted January 2, 2015 Thanks! Such of a good people. Link to comment
Xwad Posted January 10, 2015 Author Share Posted January 10, 2015 still a have no computer but soon I will have. Link to comment
The Creator Posted January 10, 2015 Share Posted January 10, 2015 So, if you understand modding, you'll can create new components for Rhino and change texture with Shaders. And by show/hide Rhino components you can imitate many variants of this vehicle. https://wiki.multitheftauto.com/wiki/Ve ... nipulation https://wiki.multitheftauto.com/wiki/En ... rldTexture Link to comment
Bean666 Posted January 10, 2015 Share Posted January 10, 2015 hmm.. try learning some functions. and what do u mean . like Second Rhino Link to comment
Einheit-101 Posted February 13, 2015 Share Posted February 13, 2015 Just replace SWAT tank with your tank and include this vehicle in my vreload community resource, shouldn't be too hard. I have currently no time left to do this myself but there is not much more to do than this: if veh == 432 then Change to if veh == 432 or veh == 601 then 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