Madonz
Members-
Posts
17 -
Joined
-
Last visited
Everything posted by Madonz
-
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
-
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
-
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.
-
Mota,una pregunta eres buen scripter ?
-
Que quieres hacer? con eso explicalo
-
Hola a todos queria saber como puedo para un funcion,por ejemplo si pongo SetGravity(0,020) como luego pararla. Gracias a todos.
-
Ye,it worked thx man for all the help,can close this and other post thx!!!
-
But dunno why i cant write in the gui-edit
-
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
-
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
-
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
-
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?
-
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
-
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