BorderLine Posted August 19, 2012 Share 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 Link to comment
ASM Posted August 19, 2012 Share Posted August 19, 2012 The versions are ok. Perhaps you should put localPlayer as root. Link to comment
BorderLine Posted August 19, 2012 Author Share Posted August 19, 2012 nothing, im still wasting Link to comment
BorderLine Posted August 19, 2012 Author Share Posted August 19, 2012 Nobody know why this is wrong? Link to comment
Castillo Posted August 19, 2012 Share 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. Link to comment
BorderLine Posted August 19, 2012 Author Share Posted August 19, 2012 sorry for wasted your time guys.. but was my bad i put "onClientPedHeliKilled" and was "onClientPlayerHeliKilled" thanks, now its solved Link to comment
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