Jump to content

Exp Zumbie


Try

Recommended Posts

Posted

Hello Forum!

Im making a Zombie server i found one exp by castillo but i tryied to use but dont go can someone explain me or give me one script for when u kill zombies u get exp and money? like one Level Script

Thanks For The Help,

Maria.

;)
Posted

Hmmm, try this code using the exp_system resource:

function rewardOnWasted ( killer ) 
local exp = getElementData(killer,"exp") 
if exp then 
setElementData(killer,"exp",tonumber(getElementData(killer,"exp"))+5) 
outputChatBox("Experience gained +5! total ".. tonumber(exp)+5,killer,0,255,0) 
else 
setElementData(killer,"exp",5) 
   end 
end 
addEvent("onZombieWasted",true) 
addEventHandler ( "onZombieWasted", getRootElement(), rewardOnWasted ) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Wow Nice real fast i will try to use,

but Castillo this script its with level like to show your level your exp in the screan,

Thanks,

Maria.

;)
Posted

Well, my exp/level system doesn't include that, you must make that part by yourself ;)

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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