Jump to content

Entre cierta y cierta cantidad.


Alexs

Recommended Posts

Posted

porq no pruebas algo como esto

  
exports.Bio_Scoreboard:scoreboardAddColumn("Rangos") 
function setrange(player) 
      local account = getPlayerAccount(player) 
      local zombieKills = getAccountData(account,"Zombie kills") 
    local nuevo = "Nuevo" 
    local iniciado = "Iniciado" 
if (zombiekills > 0) and (zombieKills < 5) then 
setElementData ( player, "Rango", nuevo )  
elseif (zombiekills > 6) and (zombieKills < 99) then 
setElementData ( player, "Clan", iniciado ) 
end 
end 
  
  
function timer() 
setTimer( setrange, 1000, 1, source ) 
end 
addEventHandler("onPlayerLogin", getRootElement(), timer) 

nose si funcione, pero si funciona sige asi con los rangos susesivamente con los elseif y claro antes dejando claro que es zombiekill

Posted
porq no pruebas algo como esto
  
exports.Bio_Scoreboard:scoreboardAddColumn("Rangos") 
function setrange(player) 
      local account = getPlayerAccount(player) 
      local zombieKills = getAccountData(account,"Zombie kills") 
    local nuevo = "Nuevo" 
    local iniciado = "Iniciado" 
if (zombiekills > 0) and (zombieKills < 5) then 
setElementData ( player, "Rango", nuevo )  
elseif (zombiekills > 6) and (zombieKills < 99) then 
setElementData ( player, "Clan", iniciado ) 
end 
end 
  
  
function timer() 
setTimer( setrange, 1000, 1, source ) 
end 
addEventHandler("onPlayerLogin", getRootElement(), timer) 

nose si funcione, pero si funciona sige asi con los rangos susesivamente con los elseif y claro antes dejando claro que es zombiekill

Por que el mio ya funciono xD

Posted
perdon xD no abia chekado el comentario de mas arriva

Jjajaja, te lo regalo xD, lo usare para misiones o vere que hacer con los rangos (son mas como levels xD)

  • Recently Browsing   0 members

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