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.
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 )
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