-
Posts
2,608 -
Joined
-
Last visited
Everything posted by 12p
-
viewtopic.php?f=91&t=27027
-
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
-
function myCash ( thePlayer ) local cash = getPlayerMoney ( thePlayer ) outputChatBox ( "Your cash is: " .. tostring ( cash ), thePlayer ) end addCommandHandler ( "cash", myCash )
-
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
-
volk. You use too many lines and for nothing... Why don't you just show the code we need, not all the script file?
-
SEARCH before asking. Go to community and search "transformers".
-
Ah cierto. Es F12. Siempre me olvido de cual bind es
-
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
-
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
-
Slothman rulezzzzzzzzz
-
Mas facil: apreta f10 y se crea una foto en "MTA ==> screenshots". Esa la subes a un host de imagenes y listo
-
Como hago que los s.mods no puedan modificar el ACL
12p replied to -Gus-'s topic in Ayuda relacionada al cliente/servidor
Ok entonces hazlo muy facil: quitales el derecho a modificar los resources... -
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).
-
If GTA would be able to support more than 1 weapon at the same weapon slot, this would be like Max Payne HUD
-
Que pasa? Tenia ganas de decir algo asi hace mucho Calmate es una broma
-
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...
-
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
-
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.
-
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.
-
https://wiki.multitheftauto.com/wiki/Scripting_Introduction
-
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.
-
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)
-
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)
-
give me your screen size.
