Jump to content

12p

Members
  • Posts

    2,608
  • Joined

  • Last visited

Everything posted by 12p

  1. The good-math guys (and the people that takes less time doing something like this, with intelligence) will, of course, use "+" and "-". Positionating the DirectX that way takes about... 30 minutes? Mine takes just 5. PS: Check this link https://wiki.multitheftauto.com/wiki/ToRelative
  2. 12p

    Moeny saving

    function myCash ( thePlayer ) local cash = getPlayerMoney ( thePlayer ) outputChatBox ( "Your cash is: " .. tostring ( cash ), thePlayer ) end addCommandHandler ( "cash", myCash )
  3. Wow nice someone that is not from MTA staff knows some C++ Hope the staff accept this, mate. And congrats for being a C++ programmer
  4. volk. You use too many lines and for nothing... Why don't you just show the code we need, not all the script file?
  5. SEARCH before asking. Go to community and search "transformers".
  6. Ah cierto. Es F12. Siempre me olvido de cual bind es
  7. Is this normal, or is just an error? I suggest to remove 1 of them, because there is no need to have 2
  8. 1,000 líneas de codigo por archivo, corregir las 5,000 fallas que tendrás (si no llevas mucho tiempo usando Lua, tendrás 10,000 ) Suerte
  9. 12p

    Ayuda

    Mira, los que hacen texturas no se llaman scripters. Se llaman TEXTURIZADORES, o bien, DISEÑADORES GRÁFICOS. Y ese link que das, yo me referí a ese mismo en mi post anterior: Y creo que ya nos estamos yendo fuera del tema del post
  10. Mas facil: apreta f10 y se crea una foto en "MTA ==> screenshots". Esa la subes a un host de imagenes y listo
  11. Ok entonces hazlo muy facil: quitales el derecho a modificar los resources...
  12. 12p

    Ayuda

    Gran Mentira v2: Cualquier imbecil puede hacer una textura... Usando Paint y el generador de reemplazamiento de texturas de dzek. Asi que no es necesario saber algo basico para hacer una textura (a menos que hablemos de texturas de buena calidad).
  13. 12p

    [REL] weaponhud

    If GTA would be able to support more than 1 weapon at the same weapon slot, this would be like Max Payne HUD
  14. Que pasa? Tenia ganas de decir algo asi hace mucho Calmate es una broma
  15. 12p

    Music

    To say "can you even read?" is an INDIRECT insult. Don't try to lie. You wanted to say I'm a stupid guy that doesn't help. I don't care, anyway. You are the one that won't learn anything... And if you readed the wiki page I gave you, and didn't find the solution, means you did read but without paying attention to...
  16. Hay otra: Crea un resource de 1000 lineas de codigo en cliente y servidor, que tenga sistema de Inteligencia Artificial compleja, y luego testeala y trata de arreglarla las 5000 veces que falles... Claro que no hay otra solucion. A menos que sigas los pasos de arriba
  17. Suggestion to take out about 100 code lines at client: Instead of using, "addEvent" and "addEventHandler" 23 times, and make a function per event... You could use "for": for i = 1, 23 do addEvent ( "r"..tostring ( i ), true ) addEventHandler ( "r"..tostring ( i ), getResourceRootElement ( ), function ( ) guiStaticImageLoadImage( image1, "rang/r"..tostring( i )..".png" ) end ) I think that would work.
  18. 12p

    Music

    So when someone tells you THE RIGHT WIKI PAGE, WHERE EVERYTHING is there, you just "insult" and don't try to understand anything? You didn't read the wiki, you just SAW it. You should try to understand before asking for help... Whatever, CowTurbo gave you the code so I can't give you the lesson I've wanted to.
  19. 12p

    Music

    https://wiki.multitheftauto.com/wiki/Scripting_Introduction
  20. It won't solve it. Actually you didn't notice that he's doing the same code you mean: sWidth-270 LoL. Let me a moment, solidsnake. Looks like I gave my code wrongly hehehe :3 EDIT: Maybe this will work? I think the problem is that you have wrong the 2º "Y-Coord" argument. When I use this code, it works fine for me (I try in at least 2 res before keeping it going be). The only problem I noticed is that the scale was wrong but NOTHING IN MY FORMULA is wrong. local sWidth,sHeight = guiGetScreenSize() dxDrawText("LEVEL:",(754/1024)*sWidth, (228/768)*sHeight, (732/1024)*sWidth, (258/768)*sHeight, tocolor(255,255,0,255), (sWidth/1024)*1.5, "default","left","top",false,false,false) EDIT 2: If it still don't work, please try to change the coords before trying another method.
  21. Then it will stop being called 3DT and will be called 3DX Maybe I'll do it... Is a good idea (a bit more work but is good hehe)
  22. This is soo excesively simple... I cannot trust this local sWidth,sHeight = guiGetScreenSize() dxDrawText("LEVEL:",(754/1024)*sWidth, (228/768)*sHeight, (732/1024)*sWidth, sHeight, tocolor(255,255,0,255), (1024/sWidth)*1.5, "default","left","top",false,false,false) And I fixed scale too, may be too big text for "low-res" players (using about 1/2 of the screen isn't okay hahaha)
  23. give me your screen size.
×
×
  • Create New...