Alexs Posted April 24, 2012 Author Share Posted April 24, 2012 Que tambien es un string y debe ir entre "" el valor que valor?? Link to comment
Renkon Posted April 24, 2012 Share Posted April 24, 2012 "Nuevo" "Iniciado" etcétera. Agregale comillas dobles. Me fui a ingles, nnv Link to comment
Alexs Posted April 24, 2012 Author Share Posted April 24, 2012 "Nuevo""Iniciado" etcétera. Agregale comillas dobles. Me fui a ingles, nnv Todo Listo, Cierren el Tema :B Link to comment
BorderLine Posted April 24, 2012 Share Posted April 24, 2012 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 Link to comment
Alexs Posted April 25, 2012 Author Share Posted April 25, 2012 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 Link to comment
BorderLine Posted April 25, 2012 Share Posted April 25, 2012 perdon no abia chekado el comentario de mas arriva Link to comment
Alexs Posted April 25, 2012 Author Share Posted April 25, 2012 perdon no abia chekado el comentario de mas arriva Jjajaja, te lo regalo , lo usare para misiones o vere que hacer con los rangos (son mas como levels ) Link to comment
Recommended Posts