BorderLine Posted August 19, 2012 Posted August 19, 2012 Hi everyone. Well i was making a simple script. and is the example from wikki. but this dont work. Is enabled this function in the actually mta version?? my code function cancelDeath() cancelEvent() end addEventHandler("onClientPedHeliKilled", root, cancelDeath) meta 'Yakuza' version='1' name='helikill' description='Scripts.' type='script' /> client="1.3.0-9.03893" /> If someone know about this thanks for your time
ASM Posted August 19, 2012 Posted August 19, 2012 The versions are ok. Perhaps you should put localPlayer as root.
Castillo Posted August 19, 2012 Posted August 19, 2012 I don't see anything wrong, if the event can really be cancelled, then it should work. Maybe is just not possible, and the person who made the example at the wiki didn't know it.
BorderLine Posted August 19, 2012 Author Posted August 19, 2012 sorry for wasted your time guys.. but was my bad i put "onClientPedHeliKilled" and was "onClientPlayerHeliKilled" thanks, now its solved
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