Jump to content

LEVEL SYSTEM


Josmar

Recommended Posts

Podrias hacer el level system? porfavor y lamento lo q te dije en skype es q no te entendi lo q decias q comenzastes mal y me desespere e.e xD es q es para un server q estoy haciendo [biohazard Zombie Misterix MOD]

Edited by Guest
Link to comment
soli malo :(

No hagas Off Topic, y creo que el trabajo de decodificacion no es meter el archivo a un software y este te lo devuelve listo, es algo mas complicado y seria mas fácil hacer uno tuyo, no es tan difícil.

claro, no es dificil crea una columna y agregale lo del zombie kill y un saver (no te diran las functions)

Link to comment

ise este gracias al script de alexs

exports.scoreboard:addScoreboardColumn('Nivel') 
  
addEventHandler("onPlayerSpawn",root 
function() 
local account = getPlayerAccount(source) 
local experience =  getAccountData(account,"experience") 
if (experience >= 0) and (experience <= 4) then  
setAccountData ( account, "Nivel", "1" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 5) and (experience <= 50) then 
setAccountData ( account, "Nivel", "2" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 99) and (experience <= 250) then 
setAccountData ( account, "Nivel", "3" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 300 and (experience <= 500) then 
setAccountData ( account, "Nivel", "4" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 700) and (experience <= 900) then 
setAccountData ( account, "Nivel", "5" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 999) and (experience <= 1500) then 
setAccountData ( account, "Nivel", "6" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 1700) and (experience <= 1900) then 
setAccountData ( account, "Nivel", "7" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 2100) and (experience <= 2500) then 
setAccountData ( account, "Nivel", "8" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 3100) and (experience <= 3600) then 
setAccountData ( account, "Nivel", "9" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 4000) and (experience <= 4800) then 
setAccountData ( account, "Nivel", "10" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 5250) and (experience <= 5900) then 
setAccountData ( account, "Nivel", "11" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 6593) and (experiences <= 6900) then 
setAccountData ( account, "Nivel", "12" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 7400) and (experience <= 8000) then 
setAccountData ( account, "Nivel", "13" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 8799) and (experience <= 9100) then 
setAccountData ( account, "Nivel", "14" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 9101) and (experience <= 9500) then 
setAccountData ( account, "Nivel", "15" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL SIGUE ASI!!", getRootElement(), 255, 255, 255, true ) 
elseif (experience >= 10000) and (experience<= 15000) then 
setAccountData ( account, "Nivel", "16" ) 
outputChatBox ( "#FF0000FELICIDADES HAS SUBIDO DE NIVEL HAS LLEGADO AL MAX (POR AHORA >!", getRootElement(), 255, 255, 255, true ) 
end 
end 
) 
addEventHandler("onPlayerSpawn",root, 
function () 
    local account = getPlayerAccount(source) 
    if isGuestAccount(account) then return end 
    local Nivel = getAccountData(account,"Nivel") 
    if Nivel then 
        setElementData(source,"Nivel", Nivel) 
end 
end 
) 

es asi o que hay q cambiar?

Link to comment
  • Recently Browsing   0 members

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