manawydan Posted January 28, 2014 Posted January 28, 2014 is there any way to know when a ped tries to shoot an explosive weapon? like Rocket Launcher? thanks "Querer não é poder, mas tentar é avançar"!
xXMADEXx Posted January 28, 2014 Posted January 28, 2014 You can check the weapon ID with onClientPlayerWeaponFIre The Ultimate Lua Tutorial! | MTA PHP SDK
manawydan Posted January 29, 2014 Author Posted January 29, 2014 hm but wiki: This does not trigger for projectiles based, or melee weapons and had one bug (for npc, no shoot with explosive) i am try make ped (npc, shoot with rocket lancer) "Querer não é poder, mas tentar é avançar"!
manawydan Posted January 29, 2014 Author Posted January 29, 2014 any idea? "Querer não é poder, mas tentar é avançar"!
Moderators IIYAMA Posted January 29, 2014 Moderators Posted January 29, 2014 https://wiki.multitheftauto.com/wiki/CreateProjectile Read the page careful, especially the sync part. 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
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