Jump to content

making a zombie boss


yanvr

Recommended Posts

At this time i try crate a zombieboss looking another posts.

I have a problem with the boss it isn't appear

That is the script:

function crearBoss (thePlayer)

BOSS = createZombie ( 1086.6645507813, 1076.1888427734, 10.838157653809, 90, 13, 0, 0 )

exports.extrahealth:setElementExtraHealth(BOSS,100000)

end

addEventHandler ( "onResourceStart", resourceRoot, createZombie )

Link to comment
function crearBoss () 
    BOSS = exports.zombies:createZombie ( 1086.6645507813, 1076.1888427734, 10.838157653809, 90, 13, 0, 0 ) 
    exports.extrahealth:setElementExtraHealth(BOSS, 100000) 
end 
addEventHandler ( "onResourceStart", resourceRoot, crearBoss ) 

Your error(s):

1: Your function name was "crearBoss", but you we're using "createZombie" in the event handler.

2: You forgot to use 'exports' @ createZombie.

Link to comment

It has nothing to do with a zombies resource, since this is slothbot and extrahealth that's running. I tested it, and I'm not seeing any effect from extrahealth. the script reacts with an error if its used incorrectly, but otherwise i'm not seeing any effect.

since the resource is made by Benxamix2, and since the script is compiled so i cant see why its not working, I propose you ask him.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...