Masa Posted June 15, 2013 Posted June 15, 2013 Hello, would there be available any sort of script that would make my snipers bullets explode? I'm already using the bulletboom, but it seems that it gives the explosion for every weapon.
Moderators IIYAMA Posted June 15, 2013 Moderators Posted June 15, 2013 scripting section isn't for requests. Here you can download a mirror. https://community.multitheftauto.com/in ... ails&id=52 Next time ask these kind of questions at the resources section. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Castillo Posted June 15, 2013 Posted June 15, 2013 -- client side: addEventHandler ( "onClientPlayerWeaponFire", localPlayer, function ( weapon, _, _, _, _, _, hitElement ) if ( weapon == 34 ) then if ( isElement ( hitElement ) and getElementType ( hitElement ) == "vehicle" ) then blowVehicle ( hitElement ) end end end ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted June 15, 2013 Posted June 15, 2013 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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