Tete omar Posted June 13, 2012 Posted June 13, 2012 Hey guys, i want that codes when the player fight with any gun then on every bullet a grenade or teargas or molotov it also in BASEMODE shops thanks.
Tete omar Posted June 13, 2012 Author Posted June 13, 2012 Sorry if it the wrong forum, but where can i ask instead of this forum ??
Castillo Posted June 13, 2012 Posted June 13, 2012 I doubt there's a forum where you can simple request scripts and someone makes them for free.
Moderators IIYAMA Posted June 13, 2012 Moderators Posted June 13, 2012 (edited) function weaponfire(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) if not weapon <= 9 then --x,y,z = getElementPosition(getLocalPlayer()) x, y, z = getPedBonePosition ( getLocalPlayer(), 25 ) if not createProjectile(getLocalPlayer(),16,x,y,z,400) then end end end addEventHandler("onClientPlayerWeaponFire", root, weaponfire) Wiki MTA > https://wiki.multitheftauto.com easy to build.. I only don't know for sure if it works... 16 Grenade 17 Tear Gas Grenade 18 Molotov 19 Rocket (simple) 20 Rocket (heat seeking) 21 Air Bomb 39 Satchel Charge 58 Flare from hydra Edited June 14, 2012 by Guest
Moderators IIYAMA Posted June 13, 2012 Moderators Posted June 13, 2012 Next time I wont help you. Because you are seriously lazy.
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