Jump to content

how can i make these zombies spawn everywhere ?


zombienation

Recommended Posts

function addPlayerZombieKills(killer) 
    local account = getPlayerAccount(killer) 
    if isGuestAccount(account) then return end 
    local zombieKills = getAccountData(account,"EXP") 
    if not zombieKills then setAccountData(account,"EXP",0) end 
    setAccountData(account,"Zombie kills",tonumber(zombieKills)+10) 
end 
addEventHandler("onZombieWasted",getRootElement(), addPlayerZombieKills) 

This adds 10 EXP every kill.

Link to comment

thx xeno :)

solidsnake, shouldn't i add something extra in the line for the scoreboard? as exp points change, like zombiekills its like this in that script

exports.scoreboard:scoreboardAddColumn("Level",getRootElement(),80)

i tried also with getRootElement(),80) but it also dont show the points in scoreboard, the colum is still there

Link to comment
  • 8 months later...

want zombies at a particular place without creating spanpoints,

you could addapt the zomb script and make safe zones to spawnzones

tthats what i did...set 0 to 1

createnew radar area and make the radar area zombieproof

tadaa the zombies will spawn inside:note

zombies out of maplimits dont hurt by hitting you(i wonder why)

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...