Jump to content

Ayuda con mi problema / help please


Recommended Posts

-Ingles- sorry for my englis

Good afternoon amigos.Tengo a problem with the system chateau experience. is it fetches the resource and the exporter will creel killing zombies and reach it to work but I have a problem and this when it killed a zombie score is marked normal experience but the problem is that when I pass a level (go up a level) the score says I need is marked but the next thing I need ie. previously required 100 experience to the next level and now happens need 200 but these numbers are 100 below 200 and when retested the Hud experience can solve the problem disappears 100 and is the next score I need in this case the 200 will show you a picture for you to see and code for q can see and tell me what the problem is. I hope a help please :(

-español-

Buenas tardes amigos.Tengo un problema con el sistema de experiencia de castillo. resulta que descarge el resource y le creel el exportador matando zombies y logre que funcionara pero tengo un problema y es el siguiente, cuando mato a un zombie se marca el puntaje experiencia normal pero el problema es que cuando paso de nivel (subo de nivel) el puntaje que dice lo que necesito queda marcado mas el siguiente que necesito es decir. antes necesitaba 100 de experiencia para pasar de nivel y ahora que pase necesito 200 pero se ven estos numero el 100 debajo del 200 y cuando retested el Hud de experiencia puedo arreglar el problema desaparece el 100 y queda el siguiente puntaje que necesito en este caso el 200 le mostrare una imagen para que lo vean y el codigo para q lo puedan ver y decirme cual es el problema. Espero una ayuda porfavor :(

--Esto es despues que retesteo el script del hud para recargarlo y se arregla.

--This is after he hud retesteo the script and manages to recharge.

a1rNnDL

--y esto es el problema cuando paso de nivel sin retestear el script.

--and this is the problem when I pass a level without retestear the script.

Z7D1BRZ

--Este es el codigo script que utilizo para hacer el hud. el problema para ser esactos

--This is the script code I use to make the hud.

sX, sY = guiGetScreenSize() 
  
  
function dxsetText ( ) 
    local text = "" 
    local UP = tonumber ( getElementData ( localPlayer, "level" ) ) or 0 
    if ( UP == 1 ) then 
        text = "  /60" 
    elseif ( UP == 2 ) then 
        text = "  /110" 
    elseif ( UP == 3 ) then 
        text = "  /160" 
    elseif ( UP == 4 ) then 
        text = "  /250" 
    elseif ( UP == 5 ) then 
        text = "  /500" 
    elseif ( UP == 6 ) then 
        text = "  /1000" 
    elseif ( UP == 7 ) then 
        text = "  /1250" 
    elseif ( UP == 8 ) then 
        text = "  /1500" 
    elseif ( UP == 9 ) then 
        text = "  /1820" 
    elseif ( UP == 10 ) then 
        text = "  /2000" 
    elseif ( UP == 11 ) then 
        text = "  /2800" 
    elseif ( UP == 12 ) then 
        text = "  /3000" 
    elseif ( UP == 13 ) then 
        text = "  /5000" 
    elseif ( UP == 14 ) then 
        text = "  /7000" 
    elseif ( UP == 15 ) then 
        text = "  /9000" 
    elseif ( UP == 16 ) then 
        text = "  /11000" 
    elseif ( UP == 17 ) then 
        text = "  /15000" 
    elseif ( UP == 18 ) then 
        text = "  /19000" 
    elseif ( UP == 19 ) then 
        text = "  /21000" 
    elseif ( UP == 20 ) then 
        text = "  /25000" 
    elseif ( UP == 21 ) then 
        text = "  /30000" 
    elseif ( UP == 22 ) then 
        text = "  /35000" 
    elseif ( UP == 23 ) then 
        text = "  /40000" 
    elseif ( UP == 24 ) then 
        text = "  /45000" 
    elseif ( UP == 25 ) then 
        text = "  /60000" 
    elseif ( UP == 26 ) then 
        text = "  /65000" 
    elseif ( UP == 27 ) then 
        text = "  /70000" 
    elseif ( UP == 28 ) then 
        text = "  /85000" 
    elseif ( UP == 29 ) then 
        text = "  /90000" 
    elseif ( UP == 30 ) then 
        text = "  /95000" 
    elseif ( UP == 31 ) then 
        text = "  /100000" 
    elseif ( UP == 32 ) then 
        text = "  /110000" 
    elseif ( UP == 33 ) then 
        text = "  /120000" 
    elseif ( UP == 34 ) then 
        text = "  /130000" 
    elseif ( UP == 35 ) then 
        text = "  /140000" 
    elseif ( UP == 36 ) then 
        text = "  /150000" 
    elseif ( UP == 37 ) then 
        text = "  /160000" 
    elseif ( UP == 38 ) then 
        text = "  /170000" 
    elseif ( UP == 39 ) then 
        text = "  /180000" 
    elseif ( UP == 40 ) then 
        text = "  /190000" 
    elseif ( UP == 41 ) then 
        text = "  /200000"      
    elseif ( UP == 42 ) then 
        text = "  /210000"   
    elseif ( UP == 43 ) then 
        text = "  /220000"   
    elseif ( UP == 44 ) then 
        text = "  /230000"   
    elseif ( UP == 45 ) then 
        text = "  /240000"   
    elseif ( UP == 46 ) then 
        text = "  /250000"   
    elseif ( UP == 47 ) then 
        text = "  /260000"   
    elseif ( UP == 48 ) then 
        text = "  /270000"  
    elseif ( UP == 49 ) then 
        text = "  /280000"   
    elseif ( UP == 50 ) then 
        text = "  /290000"   
    elseif ( UP == 51 ) then 
        text = "  /300000"     
         
    end 
    GUIEditor_Label[5] = guiCreateLabel(sX*706/800,sY*069/600,sX*80/600,sY*13/600,text,false) 
    guiSetFont ( GUIEditor_Label[5], "default-bold-small" ) 
end 
addEventHandler ( "onClientResourceStart", resourceRoot, dxsetText ) 
  
addEventHandler ( "onClientElementDataChange", localPlayer, 
    function ( dataName ) 
        if ( dataName == "level" ) then 
            dxsetText ( ) 
        end 
    end 
) 
  
---2 
addEventHandler ( "onClientResourceStart", resourceRoot, 
    function ( ) 
        GUIEditor_Label = { } 
    
  
      GUIEditor_Label[1] = guiCreateLabel(sX*624/800,sY*045/600,sX*66/800,sY*14/600,"Level:",false) 
          
guiSetFont(GUIEditor_Label[1],"default-bold-small") 
  
  
         GUIEditor_Label[3] = guiCreateLabel(sX*691/800,sY*048/600,sX*83/800,sY*15/600,"Exp:",false) 
  
         guiSetFont(GUIEditor_Label[3],"default-bold-small") 
  
        GUIEditor_Label[2] = guiCreateLabel(sX*625/800,sY*063/600,sX*53/800,sY*43/600, tostring ( getElementData ( localPlayer, "level" ) ),false) 
        guiSetFont ( GUIEditor_Label[2], "sa-header" ) 
        GUIEditor_Label[4] = guiCreateLabel(sX*679/800,sY*069/600,sX*49/800,sY*14/600, tostring ( getElementData ( localPlayer, "exp" ) ),false) 
        guiSetFont ( GUIEditor_Label[4], "default-bold-small" ) 
    end 
) 
  
addEventHandler ( "onClientElementDataChange", localPlayer, 
    function ( dataName ) 
        if ( dataName == "level" ) then 
            guiSetText ( GUIEditor_Label[2], tostring ( getElementData ( localPlayer, "level" ) ) ) 
        elseif ( dataName == "exp" ) then 
            guiSetText ( GUIEditor_Label[4], tostring ( getElementData ( localPlayer, "exp" ) ) ) 
        end 
    end 
) 
setTimer(dataName,60000,0,source, true) 
  
  
  
  
function Dead(source) 
setElementData(localPlayer,"AAutoS",0) 
  
end 
addEventHandler ( "onPlayerWasted", getRootElement(), Dead ) 
  
function st(source) 
setElementData(localPlayer,"AAutoS",0) 
  
end 
addEventHandler ( "onClientResourceStart", getRootElement(), st ) 

--este es el xml de exp system que utilizo para exportarlo por si creen que pongo diferentes numeros.

--this is the xml exp system I use to export if they believe that I put different numbers

    "Test 1" experienceRequired = "60" /> 
    "Test 2" experienceRequired = "110" />     
    "Test 3" experienceRequired = "160" />     
    "Test 4" experienceRequired = "250" /> 
    "Test 5" experienceRequired = "500" /> 
    "Test 6" experienceRequired = "1000" /> 
    "Test 7" experienceRequired = "1250" /> 
    "Test 8" experienceRequired = "1500" /> 
    "Test 9" experienceRequired = "1820" /> 
    "Test 10" experienceRequired = "2000" /> 
    "Test 11" experienceRequired = "2800" /> 
    "Test 12" experienceRequired = "3000" /> 
    "Test 13" experienceRequired = "5000" /> 
    "Test 14" experienceRequired = "7000" />  
    "Test 15" experienceRequired = "9000" />  
    "Test 16" experienceRequired = "11000" />  
    "Test 17" experienceRequired = "15000" />  
    "Test 18" experienceRequired = "19000" />  
    "Test 19" experienceRequired = "21000" />  
    "Test 20" experienceRequired = "25000" />  
    "Test 21" experienceRequired = "30000" />  
    "Test 22" experienceRequired = "35000" />   
    "Test 23" experienceRequired = "40000" />   
    "Test 24" experienceRequired = "45000" />   
    "Test 25" experienceRequired = "60000" />   
    "Test 26" experienceRequired = "65000" />   
    "Test 27" experienceRequired = "70000" />   
    "Test 28" experienceRequired = "85000" />   
    "Test 29" experienceRequired = "90000" />   
    "Test 30" experienceRequired = "95000" />   
    "Test 31" experienceRequired = "100000" />   
    "Test 32" experienceRequired = "110000" />   
    "Test 33" experienceRequired = "120000" />   
    "Test 34" experienceRequired = "130000" /> 
    "Test 35" experienceRequired = "140000" />   
    "Test 36" experienceRequired = "150000" />   
    "Test 37" experienceRequired = "160000" />   
    "Test 38" experienceRequired = "170000" />   
    "Test 39" experienceRequired = "180000" />   
    "Test 40" experienceRequired = "190000" />   
    "Test 41" experienceRequired = "200000" />   
    "Test 42" experienceRequired = "210000" />   
    "Test 43" experienceRequired = "220000" />   
    "Test 44" experienceRequired = "230000" />   
    "Test 45" experienceRequired = "240000" />   
    "Test 46" experienceRequired = "250000" />   
    "Test 47" experienceRequired = "260000" />   
    "Test 48" experienceRequired = "270000" />   
    "Test 49" experienceRequired = "280000" />   
    "Test 50" experienceRequired = "290000" />  
    "Test 51" experienceRequired = "300000" />      

--porfavor espero su ayuda con toda esta informacion tal vez puedan llegar al problema pido alguna respuesta pronto porfavor.

--I hope your help please with all of this information may be able to get to ask any problem please reply soon.

thanks

Link to comment

bueno le ayudare xD

Puedes cambiarles la posicion y el tipo de letra

yaa lo probe y funciona bien y no pasa el problema cuando subes de nivel :D

addEventHandler("onClientRender", root, 
    function() 
    local lvl = (getElementData(getLocalPlayer(),"level")) 
  local ex = (getElementData(getLocalPlayer(),"exp")) 
    local text = "" 
    local UP = tonumber ( getElementData ( localPlayer, "level" ) ) or 0 
    if ( UP == 1 ) then 
        text = "  /60" 
    elseif ( UP == 2 ) then 
        text = "  /110" 
    elseif ( UP == 3 ) then 
        text = "  /160" 
    elseif ( UP == 4 ) then 
        text = "  /250" 
    elseif ( UP == 5 ) then 
        text = "  /500" 
    elseif ( UP == 6 ) then 
        text = "  /1000" 
    elseif ( UP == 7 ) then 
        text = "  /1250" 
    elseif ( UP == 8 ) then 
        text = "  /1500" 
    elseif ( UP == 9 ) then 
        text = "  /1820" 
    elseif ( UP == 10 ) then 
        text = "  /2000" 
    elseif ( UP == 11 ) then 
        text = "  /2800" 
    elseif ( UP == 12 ) then 
        text = "  /3000" 
    elseif ( UP == 13 ) then 
        text = "  /5000" 
    elseif ( UP == 14 ) then 
        text = "  /7000" 
    elseif ( UP == 15 ) then 
        text = "  /9000" 
    elseif ( UP == 16 ) then 
        text = "  /11000" 
    elseif ( UP == 17 ) then 
        text = "  /15000" 
    elseif ( UP == 18 ) then 
        text = "  /19000" 
    elseif ( UP == 19 ) then 
        text = "  /21000" 
    elseif ( UP == 20 ) then 
        text = "  /25000" 
    elseif ( UP == 21 ) then 
        text = "  /30000" 
    elseif ( UP == 22 ) then 
        text = "  /35000" 
    elseif ( UP == 23 ) then 
        text = "  /40000" 
    elseif ( UP == 24 ) then 
        text = "  /45000" 
    elseif ( UP == 25 ) then 
        text = "  /60000" 
    elseif ( UP == 26 ) then 
        text = "  /65000" 
    elseif ( UP == 27 ) then 
        text = "  /70000" 
    elseif ( UP == 28 ) then 
        text = "  /85000" 
    elseif ( UP == 29 ) then 
        text = "  /90000" 
    elseif ( UP == 30 ) then 
        text = "  /95000" 
    elseif ( UP == 31 ) then 
        text = "  /100000" 
    elseif ( UP == 32 ) then 
        text = "  /110000" 
    elseif ( UP == 33 ) then 
        text = "  /120000" 
    elseif ( UP == 34 ) then 
        text = "  /130000" 
    elseif ( UP == 35 ) then 
        text = "  /140000" 
    elseif ( UP == 36 ) then 
        text = "  /150000" 
    elseif ( UP == 37 ) then 
        text = "  /160000" 
    elseif ( UP == 38 ) then 
        text = "  /170000" 
    elseif ( UP == 39 ) then 
        text = "  /180000" 
    elseif ( UP == 40 ) then 
        text = "  /190000" 
    elseif ( UP == 41 ) then 
        text = "  /200000"     
    elseif ( UP == 42 ) then 
        text = "  /210000"   
    elseif ( UP == 43 ) then 
        text = "  /220000"   
    elseif ( UP == 44 ) then 
        text = "  /230000"   
    elseif ( UP == 45 ) then 
        text = "  /240000"   
    elseif ( UP == 46 ) then 
        text = "  /250000"   
    elseif ( UP == 47 ) then 
        text = "  /260000"   
    elseif ( UP == 48 ) then 
        text = "  /270000" 
    elseif ( UP == 49 ) then 
        text = "  /280000"   
    elseif ( UP == 50 ) then 
        text = "  /290000"   
    elseif ( UP == 51 ) then 
        text = "  /300000"     
        
    end 
        dxDrawText("Level", 623, 44, 659, 66, tocolor(255, 255, 255, 255), 1.20, "sans", "left", "top", false, false, true, false, false) 
        dxDrawText(""..lvl, 632, 70, 659, 110, tocolor(255, 255, 255, 255), 2.50, "default", "left", "top", false, false, true, false, false) 
        dxDrawText("Exp:", 696, 44, 730, 64, tocolor(255, 255, 255, 255), 1.20, "sans", "left", "top", false, false, true, false, false) 
        dxDrawText(""..ex..""..text.."", 678, 83, 790, 110, tocolor(255, 255, 255, 255), 0.5, "bankgothic", "left", "top", false, false, true, false, false) 
end 
) 
  
addEventHandler ( "onClientResourceStart", resourceRoot, dxsetText )  
  
  

Link to comment

Ohh amigo genialll pude resolver mi problema con tu solucion eres lo maximo te lo agradesco :D :D :D como podria agradecerte :D :D una ultima cosita como cambio de tipo de fuente de letra seria supergenial si me dices com lo isiste tmb :D :D si no ok esta bien me has salvado y ami server _D genial bro muchas gracias :D

Link to comment

     para cambiar el tipo de letra solo cambie el texto que sige desde de esto: tocolor(255, 255, 255, 255), 0.5 , "tipodeletra"....

y lo demas lo dejas igual a otra cosa debes saber que fuentes hay no puedes poner cualkiera :D

dxDrawText(""..ex..""..text.."", 678, 83, 790, 110, tocolor(255, 255, 255, 255), 0.5, "bankgothic", "left", "top", false, false, true, false, false) 

 

Link to comment

Por cierto hay alguna manera de anexar estos exportadores o visualiza dores de niveles o experiencia en el global chat? dale un vistazo y dime si si o si no para eliminar esa duda :).

aquí hay una serie de comando para mostrar el nivel y la experiencia por medio de un comando pero no se si pueda funcionar ya que no se cual debería usar míralos porfavor

https://wiki.multitheftauto.com/wiki/Resource:Exp_system

Link to comment

Quiero poner un comando en mi globalchat para que cuando escriba lgo aparesca algo asi "[Globa][lvl1][Xodia]: Hola Como estas!!" hay un comando en esa lista que te mostre donde si lo pongo y escribo el comando me aparece que nivel soy . nose como escribir el comando para que identifique mi nivel almenos noce donde en que parte del global chat debo escribir :S esa es mi duda solo quiero eso para culminar con mi sistema de experiencia. ya que ningun jugador save que nivel es el otro y asi pierde la gracia. ayudame en lo que puedas y si tienes tiempo si amigo :)

Link to comment

Si lo estoy probando creo que me quedare con ese por el momento ya que no pude con el global chat. otra cosa no saves como quitar el scoreboard que trae por defecto el dayz. saves que cuando precionas tab aparecen dos por defecto y si escribo stop scoreboard se quita el scoreboard que dice los leves sabrias como quitarlo?? el que trae el dayz

Link to comment

Hay alguna manera deque cuando pase a un nivel espesifico este muestre una imagen estatica es decir. quiero que cuando sea nivel uno me aparesca una imagen que paresca una placa como de soldado algo asi que cuando pase a level 2 me aparesca otra imagen sustituyendo a la primera y asi. ahy alguna manera de hacer esto??

Link to comment
dxDrawImage( 678, 103, 790, 110, "imagenes/"..level..".png") 

prueva con eso agregalo en la parte de los dx de tu scrip

y crea una carpeta en tu scrip llamada imagenes y pon tus imagenes con el nombre de cada level

la imagen de level 1 que se llame 1 la del level 2 que se llame 2 y así sucesivamente no olvides poner tambien en el meta.xml las imagenes :D

Link to comment
Quiero poner un comando en mi globalchat para que cuando escriba lgo aparesca algo asi "[Globa][lvl1][Xodia]: Hola Como estas!!" hay un comando en esa lista que te mostre donde si lo pongo y escribo el comando me aparece que nivel soy . nose como escribir el comando para que identifique mi nivel almenos noce donde en que parte del global chat debo escribir :S esa es mi duda solo quiero eso para culminar con mi sistema de experiencia. ya que ningun jugador save que nivel es el otro y asi pierde la gracia. ayudame en lo que puedas y si tienes tiempo si amigo :)
function rangedChat ( message, messageType ) 
    local r, g, b = getPlayerNametagColor ( source ) 
    local playerName = getPlayerName ( source ) 
    local lvl = getElementData(source, "level") 
    if ( messageType == 0 ) then -- If it's normal chat (i.e. not PM or team) 
                outputChatBox ( "[LVL "..lvl.."] ".. playerName ..": #ffffff".. message, root, r, g, b, true ) 
    end 
cancelEvent ( ) 
end 
addEventHandler ( "onPlayerChat", root, rangedChat ) 

aqui tienes lo que querias cuando ablen por T dira el nivel algo asi [LVL 16] Xoda : bla bla bla ....

suerte espero te sirva :D

Link to comment

Ya encontre la manera. es el script q buscaba solo me falta hacerlo que funcione con el global chat no con el T mi servidor de dayz usamos el globalchat pa comunicarnos englobal con la t solo lo pueden ver las personas que esten serca de ti D: debo hacerlo funcionar en el global chat

Link to comment

ahora el problema es el de las imagenes con el nivel. trato de agregarlo . lo agrege en los dx de mi script y tambien en mi meta pero aun asi dice que no encuentra el archivo 1.png y mi imagen la cree le puse de nombre 1 la guarde en formato .png y la meti en la carpeta q cree de imagenes, tmb lo puse afuera de la carpeta de nombre esribi 1.png pero tampoco funciona en el meta escribi completo el script asi mira..

addEventHandler("onClientRender", root, 
    function() 
    local lvl = (getElementData(getLocalPlayer(),"level")) 
  local ex = (getElementData(getLocalPlayer(),"exp")) 
    local text = "" 
    local UP = tonumber ( getElementData ( localPlayer, "level" ) ) or 0 
    if ( UP == 1 ) then 
        text = "  /60" 
    elseif ( UP == 2 ) then 
    function showClientImage() 
   guiCreateStaticImage( 0.68, 0, 0.32,  0.08333, "logo1.png", true, nil) 
end 
addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), showClientImage ) 
        text = "  /110" 
    elseif ( UP == 3 ) then 
        text = "  /160" 
    elseif ( UP == 4 ) then 
        text = "  /250" 
    elseif ( UP == 5 ) then 
        text = "  /500" 
    elseif ( UP == 6 ) then 
        text = "  /1000" 
    elseif ( UP == 7 ) then 
        text = "  /1250" 
    elseif ( UP == 8 ) then 
        text = "  /1500" 
    elseif ( UP == 9 ) then 
        text = "  /1820" 
    elseif ( UP == 10 ) then 
        text = "  /2000" 
    elseif ( UP == 11 ) then 
        text = "  /2800" 
    elseif ( UP == 12 ) then 
        text = "  /3000" 
    elseif ( UP == 13 ) then 
        text = "  /5000" 
    elseif ( UP == 14 ) then 
        text = "  /7000" 
    elseif ( UP == 15 ) then 
        text = "  /9000" 
    elseif ( UP == 16 ) then 
        text = "  /11000" 
    elseif ( UP == 17 ) then 
        text = "  /15000" 
    elseif ( UP == 18 ) then 
        text = "  /19000" 
    elseif ( UP == 19 ) then 
        text = "  /21000" 
    elseif ( UP == 20 ) then 
        text = "  /25000" 
    elseif ( UP == 21 ) then 
        text = "  /30000" 
    elseif ( UP == 22 ) then 
        text = "  /35000" 
    elseif ( UP == 23 ) then 
        text = "  /40000" 
    elseif ( UP == 24 ) then 
        text = "  /45000" 
    elseif ( UP == 25 ) then 
        text = "  /60000" 
    elseif ( UP == 26 ) then 
        text = "  /65000" 
    elseif ( UP == 27 ) then 
        text = "  /70000" 
    elseif ( UP == 28 ) then 
        text = "  /85000" 
    elseif ( UP == 29 ) then 
        text = "  /90000" 
    elseif ( UP == 30 ) then 
        text = "  /95000" 
    elseif ( UP == 31 ) then 
        text = "  /100000" 
    elseif ( UP == 32 ) then 
        text = "  /110000" 
    elseif ( UP == 33 ) then 
        text = "  /120000" 
    elseif ( UP == 34 ) then 
        text = "  /130000" 
    elseif ( UP == 35 ) then 
        text = "  /140000" 
    elseif ( UP == 36 ) then 
        text = "  /150000" 
    elseif ( UP == 37 ) then 
        text = "  /160000" 
    elseif ( UP == 38 ) then 
        text = "  /170000" 
    elseif ( UP == 39 ) then 
        text = "  /180000" 
    elseif ( UP == 40 ) then 
        text = "  /190000" 
    elseif ( UP == 41 ) then 
        text = "  /200000"     
    elseif ( UP == 42 ) then 
        text = "  /210000"   
    elseif ( UP == 43 ) then 
        text = "  /220000"   
    elseif ( UP == 44 ) then 
        text = "  /230000"   
    elseif ( UP == 45 ) then 
        text = "  /240000"   
    elseif ( UP == 46 ) then 
        text = "  /250000"   
    elseif ( UP == 47 ) then 
        text = "  /260000"   
    elseif ( UP == 48 ) then 
        text = "  /270000" 
    elseif ( UP == 49 ) then 
        text = "  /280000"   
    elseif ( UP == 50 ) then 
        text = "  /290000"   
    elseif ( UP == 51 ) then 
        text = "  /300000"     
        
    end 
        dxDrawText("Level", 1100, 350, 659, 66, tocolor(255, 255, 255, 255), 1.20, "sans", "left", "top", false, false, true, false, false) 
        dxDrawText("Infectados", 1100, 300, 659, 66, tocolor(255, 255, 255, 255), 1.20, "sans", "left", "top", false, false, true, false, false) 
        dxDrawText(""..lvl, 1110, 380, 659, 110, tocolor(255, 255, 255, 255), 2.50, "default", "left", "top", false, false, true, false, false) 
        dxDrawText("Exp:", 1190, 370, 730, 64, tocolor(255, 255, 255, 255), 1.20, "sans", "left", "top", false, false, true, false, false) 
        dxDrawText(""..ex..""..text.."", 1200, 390, 790, 110, tocolor(255, 255, 255, 255), 0.5, "bankgothic", "left", "top", false, false, true, false, false) 
        dxDrawImage( 678, 103, 790, 110, "imagenes/"(..lvl..)".png")--aqui esta el comando dx 
end 
) 
  
addEventHandler ( "onClientResourceStart", resourceRoot, dxsetText ) 

efectivamente es detectado el comando escrito pero el problema es q no consige la imagen para iniciar el resource :/ en elmeta escribi de esta manera

    "TimmY14" version="1.0.0" type="script" name="drawyourlevel" description="esto te dira tu level en un texto bajo el hud" /> 
    

tal vez no este bien escrito :S si no es asi ayudame en esa porfas

Link to comment
  • Recently Browsing   0 members

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