smw94 Posted October 22, 2014 Posted October 22, 2014 is event onPlayerWasted is triggered when a player death caused by heli blades / car ram ? i try debuging it, by killing player with both method but none of them triggered onPlayerWasted, i dont get any error, but the player wont respawn after death by heli blades / car ram, so where should it triggered when player death by heli blades or car ram ? thanks ..
Moderators IIYAMA Posted October 22, 2014 Moderators Posted October 22, 2014 https://wiki.multitheftauto.com/wiki/On ... eCollision 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
TAPL Posted October 22, 2014 Posted October 22, 2014 https://wiki.multitheftauto.com/wiki/OnClientPlayerHeliKilled
smw94 Posted October 22, 2014 Author Posted October 22, 2014 https://wiki.multitheftauto.com/wiki/OnClientPlayerHeliKilled thanks it work, but another problem is, where should it trigger when killing by sea sparrow gun ? it doesnt trigger onPlayerWasted ..
TAPL Posted October 22, 2014 Posted October 22, 2014 You mean this? https://wiki.multitheftauto.com/wiki/OnClientPlayerHitByWaterCannon
smw94 Posted October 22, 2014 Author Posted October 22, 2014 i'm not sure seasparrow minigun is triggering onClientPlayerHitByWaterCanon, i've try, and it doesnt work, its triggered by fire truck or SWAT van water canon, anything to try ?
Anubhav Posted October 22, 2014 Posted October 22, 2014 https://wiki.multitheftauto.com/wiki/On ... WeaponFire Just add sea sparrow ID in the table. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
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