Jump to content

Madonz

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by Madonz

  1. Madonz

    Peds :s

    ElMota lee la wiki lo de los Peds es de lo mas facil... imagina que "yo" lo pude hacer.Si quieres un buen script y agregarle todas las cosas debes hacerlo tu
  2. porque tu as dicho arriba que tu ingles no era bueno,y no esta en ingles PRO.Es ingles comun nada mas que tu no lo entiendes
  3. Mota te puedo recomendar algo,si quieres ser scripter deberias saber minimo de ingles aunque sea una pisca.Porque el mtasa.wiki esta todo en ingles y la parte de español es muy poca.
  4. Mota,una pregunta eres buen scripter ?
  5. Que quieres hacer? con eso explicalo
  6. Madonz

    Consulta

    Castillo,los de las GUI esta en español?Digo los GUI tutorials.
  7. Hola a todos queria saber como puedo para un funcion,por ejemplo si pongo SetGravity(0,020) como luego pararla. Gracias a todos.
  8. Madonz

    Question

    But the command "test" doesnt work,just change it to other
  9. Madonz

    Help here plz

    Ye,it worked thx man for all the help,can close this and other post thx!!!
  10. Madonz

    Help here plz

    But dunno why i cant write in the gui-edit
  11. Si,pero sigue sin aparecer el outputChatBox("BLABLA",255,0,0) no encuentro el problema,si escribo stats aparece el chatbox stats porque es la linea de arriba pero mi BLABLA no aparece
  12. Ok function GUI() window = guiCreateWindow(15,75,500,500,"Admin Adding Car",false) guiWindowSetMovable( Window, false ) guiWindowSetSizable( Window, false ) memo = guiCreateMemo(150,100,250,50,"",false,window) ok = guiCreateButton(100, 100, 50, 50,"OK",false,window) label = guiCreateLabel(13,35,500,100,"Cars:",false,window) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) exit = guiCreateButton(171,19,19,19,"X",false,window) guiSetVisible(window,false) addEventHandler("onClientGUIClick",exit,exitGUI); addEventHandler("onClientGUIClick",ok,okcar); end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () GUI() end ) function openTeleportWindow() local PlayerName = getPlayerName(getLocalPlayer()) if PlayerName == "BLABLA" then guiSetVisible(window,true) showCursor(true,true) else return end end addCommandHandler("OpenGUI",openTeleportWindow) function exitGUI() if (source == exit) then guiSetVisible(window,false); showCursor(false); end end function okcar(button,state) if button == "left" and state == "up" then if (source == ok) then local text = guiGetText ( memo ) outputChatBox ( text ) if (text == "stats") then outputChatBox("BLABLA",255,0,0); end end end end
  13. Es que el boton ya esta creado,toda la ventana tambine,lo unico que quiero es para que la palabra que yo escriba tenga su funcion especial solo ose
  14. Hola a todos,son nuevo en el tema y estoy aprendiendo de a poco,en este caso tengo un problema que me gustaria que vieran: function okGUI(button,state) if button == "left" and state == "up" then if (source == ok) then local text = guiGetText ( memo ) outputChatBox ( text ) if (text == "stats") then outputChatBox("BLABLA",255,0,0); end end end end no funciona porque sera,lo que yo quiero es que cuando escribo una palabra especial en este caso "stats" salga el mensaje de chatbox.Cada vez que pongo stats sale la palabra stats que claro es la linea correspondiente a lo de arriba. espero que me puedan ayudar gracias Como uso debugscript 3?
  15. Madonz

    Help here plz

    And still not working function okGUI(button,state) if button == "left" and state == "up" then if (source == ok) then local text = guiGetText ( memo ) outputChatBox ( text ) if (text == "stats") then outputChatBox("BLABLA",255,0,0); end end end end when i type stats just appear stats that s the line up to it,understand me i am begginer and i dunno much things.Dont get angry if i didnt understand u or something plz
  16. Madonz

    Help here plz

    Hello,i am new here and i am learning some of lua code.Today i got a question and i guess u'll can solve it,the point is that i want get text from my gui,i used memo and editBox this is what i do: function okGUI(button,state) if button == "left" and state == "up" then if (source == ok) then local text = guiGetText ( memo ) outputChatBox ( text ) if (text) == "bla" then outputChatBox("BLABLABLA",255,0,0) end end end end Then i try with bla and nothing can someone tell me how to do it?i am sure theres an error AHH i forgot ,dunno why, but i cant write on my editBox
×
×
  • Create New...