Alexs Posted April 24, 2012 Author Posted April 24, 2012 Que tambien es un string y debe ir entre "" el valor que valor??
Renkon Posted April 24, 2012 Posted April 24, 2012 "Nuevo" "Iniciado" etcétera. Agregale comillas dobles. Me fui a ingles, nnv
Alexs Posted April 24, 2012 Author Posted April 24, 2012 "Nuevo""Iniciado" etcétera. Agregale comillas dobles. Me fui a ingles, nnv Todo Listo, Cierren el Tema :B
BorderLine Posted April 24, 2012 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
Alexs Posted April 25, 2012 Author 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
BorderLine Posted April 25, 2012 Posted April 25, 2012 perdon no abia chekado el comentario de mas arriva
Alexs Posted April 25, 2012 Author 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 )
Recommended Posts