Masa Posted June 15, 2013 Share 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. Link to comment
Moderators IIYAMA Posted June 15, 2013 Moderators Share 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. Link to comment
Castillo Posted June 15, 2013 Share 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 ) Link to comment
Masa Posted June 15, 2013 Author Share Posted June 15, 2013 Thank you, works perfectly! 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