Josmar Posted August 19, 2012 Posted August 19, 2012 Hola,chicos otro post mas e.e es como editar el level system este es el link de descarga https://community.multitheftauto.com/ind ... ls&id=4169 como editarlo para q sea que al matar un zombie ganes experiencia. Gracias no subo el code por q aparecen unas cosas raras
Alexs Posted August 19, 2012 Posted August 19, 2012 El Script de Level de AL3Grab esta codificado, deberas crear uno nuevo si quieres esas funciones.
Alexs Posted August 19, 2012 Posted August 19, 2012 Y mas o menos como? e.e Descarga mi script de Zombie Kills y mi zombie_ranks, esos te daran alguna idea.
Alexs Posted August 19, 2012 Posted August 19, 2012 ya los tengo pero no se como hacerlo mm... quiza deberias comenzar por algo mas basico pero puedes usar los ElementData y los AccountData y subirle + 1 en cada zombie kill.
Josmar Posted August 19, 2012 Author Posted August 19, 2012 (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 es q es para un server q estoy haciendo [biohazard Zombie Misterix MOD] Edited August 19, 2012 by Guest
Alexs Posted August 19, 2012 Posted August 19, 2012 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 No, pero te puedo ayudar, re agregame a Skype.
Josmar Posted August 19, 2012 Author Posted August 19, 2012 Ya te envie la invitacion no se por q alegrab lo codfico e.e
Alexs Posted August 19, 2012 Posted August 19, 2012 Ya te envie la invitacionno se por q alegrab lo codfico e.e Para que no lo editen o le quiten credito, como Castillo.
Soren Posted August 20, 2012 Posted August 20, 2012 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
Alexs Posted August 20, 2012 Posted August 20, 2012 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.
CheiN Posted August 21, 2012 Posted August 21, 2012 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)
Alexs Posted August 21, 2012 Posted August 21, 2012 Si a mi me dijesen eso ya tendria clara la idea, y usa las funciones y eventos exportados de zombies y los Account Data.
Josmar Posted August 21, 2012 Author Posted August 21, 2012 alexs me dijistes q me ayudarias aceptame en skype e.e
Alexs Posted August 21, 2012 Posted August 21, 2012 alexs me dijistes q me ayudarias aceptame en skype e.e te acepte hace varios dias.
Josmar Posted August 21, 2012 Author Posted August 21, 2012 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?
Alexs Posted August 21, 2012 Posted August 21, 2012 eso mostraría el outputChatBox cada vez que hagas Spawn.
Recommended Posts