Jump to content

LEVEL SYSTEM


Josmar

Recommended Posts

Posted
ya los tengo pero no se como hacerlo

mm... quiza deberias comenzar por algo mas basico :S

pero puedes usar los ElementData y los AccountData y subirle + 1 en cada zombie kill.

Developer @ MYVAL

Posted (edited)

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

No, pero te puedo ayudar, re agregame a Skype.

Developer @ MYVAL

Posted

Eso no te lo vamos a decir.

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

Es de la clase de personas que quieren todo facil. Si alguien lo compilo es por que no quieren que lo editen. has tu propio sistema

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

Developer @ MYVAL

Posted
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)

My scripts: toptimes on scoreboard (server21)

Screen on login(scren)

Score on scoreboard (score)

Posted

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?

Posted

donde muestra cuando obtiene la exp ?

My scripts: toptimes on scoreboard (server21)

Screen on login(scren)

Score on scoreboard (score)

  • Recently Browsing   0 members

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