-
Posts
2,869 -
Joined
-
Last visited
Everything posted by Alexs
-
Try this: addEventHandler("onClientGUIDoubleClick",TypeClothes_Grid,function() local Selected = guiGridListGetItemText ( TypeClothes_Grid, guiGridListGetSelectedItem ( TypeClothes_Grid ), 1 ) if ( tostring(Selected) ) then for i=1, 67 do clothe = getClothesByTypeIndex ( 0, i ) crow = guiGridListAddRow ( NameClothes_Grid ) guiGridListSetItemText ( NameClothes_Grid, crow, colname, tostring ( clothe ), false, false ) guiGridListSetItemText ( NameClothes_Grid, crow, colID, tonumber ( i ), false, false ) end end end) addEventHandler("onClientGUIClick",root, function (b) if b == "left" then if source == CloseClothesWindow then guiSetVisible(Clothes_Window,false) showCursor(false) end elseif source == BuyClothes then local Selected = guiGridListGetItemText ( NameClothes_Grid, guiGridListGetSelectedItem ( NameClothes_Grid ), 1 ) local Selected2 = guiGridListGetItemText ( NameClothes_Grid, guiGridListGetSelectedItem ( NameClothes_Grid ), 2 ) addPedClothes ( source, tostring(Selected2), "vest", Selected ) guiSetVisible(Clothes_Window,false) showCursor(false) end end)
-
[Presentacion] P.R.P Roleplay, Roleplay en latino/español
Alexs replied to depato123's topic in Servidores en donde jugar
No me refería a eso, según he comprobado, esta clase de servidores son los que mas usuarios tienen, pero son los que mas tardan en conseguir jugadores activos. -
Some message in the debug?
-
You can use 'getPedWeapon'.
-
Puedes utilizar 'loadstring' para ejecutar un código desde un 'string' o pasar el texto del archivo a un recurso y ejecutarlo para ciertos jugadores en especifico.
-
Es posible que sea un error del mapa.
-
Eso no tiene ningún sentido, el argumento 'relative' de las funciones GUI utiliza coordenadas entre 0 y 1, tus números son mucho mayores a eso. *Por favor eliminar este post, @TomasitoCaram ya corrigió su grave error.
-
Aunque 'guiGetScreenSize' es el método mas utilizado, es en realidad poco útil para cosas como textos o imágenes, ya que las resoluciones de las pantallas poseen escalas diferentes. http://es.wikipedia.org/wiki/Resolucion_de_pantalla
-
Aunque el post tenga como tema a Insane Hosting, esto sigue siendo el foro de MTA, existe un foro sobre CS:GO en la web de Steam que podrías utilizar para promocionar tu empresa.
-
Utiliza 'interpolateBetween' (y/o 'guiSetSize' de ser necesario).
-
No se si entendí mal, pero ¿como esperas que algo se mueva sin cambiar de posición? De todas formas puedes utilizar 'interpolateBetween'.
-
Nadie te esta tratando mal, solo hacemos criticas constructivas y corregimos tus errores.
-
Ya corregí la ortografía, gramática y traducciones faltantes. Si alguien ve un error por favor corrijalo: 'createExplosion'.
-
Creo que nunca vi ese truco, ¿podrías decirnos como se activa en Singleplayer? Así podremos ayudarte de mejor manera.
-
[Ayuda] Servidor se apaga, Debian Linux VPS
Alexs replied to Narutimmy's topic in Ayuda relacionada al cliente/servidor
¿Ya probaste pedir ayuda en el foro de soporte para servidores? -
Es en realidad sencillo, algo así: function drawWindows() local window = dxDrawRectangle(308, 226, 714, 352, tocolor(0, 0, 0, 194), false) local titulo = dxDrawRectangle(308, 200, 714, 26, tocolor(6, 120, 200, 179), false) local titulotext = dxDrawText("LOGIN PANEL BETA 1.0", 539, 175, 799, 250, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) local dxline = dxDrawLine(660, 226, 660, 577, tocolor(6, 120, 200, 255), 1, false) local dxtext = dxDrawText("LOGIN", 318, 236, 646, 260, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) local dxtext2 = dxDrawText("REGISTER", 683, 236, 1012, 259, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) local dxtext3 = dxDrawText("USER", 326, 281, 636, 308, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) local dxtext4 = dxDrawText("USER", 1050, 281, 636, 308, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) local dxtext5 = dxDrawText("USER", 326, 281, 636, 308, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) local dxtext6 = dxDrawText("USER", 1050, 281, 636, 308, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) end addEventHandler("onClientRender", root, drawWindows ) function cerrarPanel () guiSetVisible(window,false) showCursor(false) removeEventHandler( 'onClientRender', root, drawWindows ) --los mismos argumentos que en 'addEventHandler'. end
-
Compare the value with -1.
-
[Ayuda] Servidor se apaga, Debian Linux VPS
Alexs replied to Narutimmy's topic in Ayuda relacionada al cliente/servidor
Cuando dices 'todos los días se apaga', ¿Hay alguna hora especifica?, ¿Algo especial en el momento que el servidor se apaga? -
Lose, lo hice dormido y apurado además el Inglés no es mi fuerte Si el ingles 'no es tu fuerte' y no tenias tiempo ni animo, ¿para que traducirlo? Algunas partes no están traducidas y otras no tienen ningún sentido.