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 Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
ASM Posted August 19, 2012 Posted August 19, 2012 The versions are ok. Perhaps you should put localPlayer as root.
BorderLine Posted August 19, 2012 Author Posted August 19, 2012 nothing, im still wasting Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
BorderLine Posted August 19, 2012 Author Posted August 19, 2012 Nobody know why this is wrong? Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
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. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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 Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
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