Zokan Posted January 21, 2012 Share Posted January 21, 2012 Hello I am looking for a script for the minigun. I want to shoot a particular missile minigun. Instead of ball. Is this possible? MFG Zokan Link to comment
GanJaRuleZ Posted January 21, 2012 Share Posted January 21, 2012 Mhhm , you can look over the community If it isn't , bad luck , nobody will script for free.. Link to comment
mjau Posted January 21, 2012 Share Posted January 21, 2012 here this works for all wepaons https://community.multitheftauto.com/ind ... ls&id=1570 Link to comment
FatalTerror Posted January 21, 2012 Share Posted January 21, 2012 Like that ? -- 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... if not createProjectile(getLocalPlayer(),19,getElementPosition(getLocalPlayer()),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
shizuo Posted March 27, 2015 Share Posted March 27, 2015 The other scripts doesn't work for me it doesn't pop like it always do ~_~ specially the weapons damn only the gun. 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