BorderLine Posted March 7, 2012 Posted March 7, 2012 Hi forum people. i was mading this, and my boss dont spawn i dont know where is the errors. debugscript dont show errors function crearBoss() local x,y,z = getElementPosition( source ) BOSS = createZombie ( x , y , z, 0, 30, 0, 0 ) exports["extrahealth"]:setElementExtraHealth(BOSS, 9999) end addEventHandler ( "onZombieSpawn", resourceRoot, crearBoss ) setTimer(crearBoss,600000,0) the extrahealth is running, and this is a serverside 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 March 7, 2012 Posted March 7, 2012 1: You forgot about 'addEvent'. 2: If I'm right, 'onZombieSpawn' doesn't trigger a ped element as 'source'. 3: What is that timer for? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
BorderLine Posted March 7, 2012 Author Posted March 7, 2012 with the timer im trying to create boss every 10 minutes well now i fix it, but extrahealth dont work 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 March 7, 2012 Posted March 7, 2012 Extra health doesn't work with slothbots too, maybe it doesn't work with zombies either. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
BorderLine Posted March 7, 2012 Author Posted March 7, 2012 deam thx 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
Castillo Posted March 7, 2012 Posted March 7, 2012 Try it with a normal ped, not a zombie and see if it works. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Agon Posted March 7, 2012 Posted March 7, 2012 shouldn't it be like that? I mean createZombie does not work in normal mta. he should export the function.. exports["zombies"]:createZombie(blah blah blah)
Castillo Posted March 7, 2012 Posted March 7, 2012 Yeah, but maybe he put that function inside zombies, in that case he doesn't need to. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Agon Posted March 7, 2012 Posted March 7, 2012 Yeah, but maybe he put that function inside zombies, in that case he doesn't need to. oh that's reasonable..
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