
Crespo_
Members-
Posts
25 -
Joined
-
Last visited
Everything posted by Crespo_
-
Lee este post https://forum.multitheftauto.com/topic/52651-help-how-to-replace-the-clothes/ Lee este post https://forum.multitheftauto.com/topic/52651-help-how-to-replace-the-clothes/
-
You can use functions that work with the database that mta provides for your server https://wiki.multitheftauto.com/wiki/GetElementData https://wiki.multitheftauto.com/wiki/SetElementData
-
A few hours ago I managed to generate the vehicle on the client side (sorry for not updating the post), when the player accepts the destination a bus is generated, which accelerates to a stop, now, I have the problem of how to generate the cloning of the player ( I guess it could be via createPed and setCameratarget), do I divert the player to another dimension to avoid some kind of conflict? as far as, as far as the bus accelerates, I determined it through the distance vector being completely perpendicular to the maker of the busstop
-
El error te lo está tirando porque no estás usando el argumento que definiste arriba, cambia vehicle por vehiculo, y además cambia la función que estás usando por https://wiki.multitheftauto.com/wiki/GetElementModel
-
Hey! I edited a one ammunation in the desert, I was able to do what you told me to do but the color of the object, seems strange to me, it seems that the object has no texture, the DFF off the object is it DFF: desn2_ammun.dff
-
Thank you very much !, But one last query, I tried to get the .dff textures from the original gta files, but the only ones I see are the wheels, how can I get them?
-
I already installed blender and the dragonff plugin
-
!Hello Community!, Im developing a transport system for my server This consists of a system of busstops, in which you can go to destinations within the city, currently when the player makes the trip the following animation is generated: a bus appears in the initial terminal, then a "fadecamera", and another bus in the final terminal. I have 2 problems with this animation. 1_ I don't know how to make the vehicle only see the local player, I tried to use the setElementAlpha () function, but the arguments are defined for all players. 2_ I would like to give it a further plus of realism in which the player gets off the bus (I don't know which function to use to show this) or that the bus makes a movement, in this last fact I am even more disoriented. I attach images. if someone can guide me, I will be very grateful!
-
which of these softwares is easier to use?, and what plugins i need for this software?
-
Hey Tut!, im very new in this world of models, can u see me anyone topic on this forum about unwanted mesh?
-
Muchas gracias!
-
Hello community !, I want to see if there is any way to create interiors directly (without markers), or if there is already a mod that allows this, I tried to create them from the map editor, but when I try to remove the doors to put objects inside I find a black box, and it is impossible to remove it.
-
Hola, he visto en muchos servidores que utilizan un bot de discord para reproducir el chat ingame y poder escribir en este, quería consultar si alguno conoce alguna guía de instalación de estos para poder compartirla
-
Si deseas ver las cuentas usa getAccounts(), si deseas utilizar las contraseñas de los players, utiliza una base de datos externa de mta
-
Che, ahora tenemos un problema, como se guardan los kills y deaths :V
-
Nesesito ayuda en modificar este gang system: https://community.multitheftauto.com/ind ... ls&id=8291 , para que se vea la gang y el rango en una tabla de scoreboard.
-
Hola comunidad de mta nesesito una pequeña ayuda, ayer me e puesto hacer un sistema para que un player puede descargar los mods cuando quiera pero no me funcionó. en el cliente. addEventHandler("onClientResourceStart", resourceRoot, function() ventanamods = guiCreateWindow(172, 172, 183, 367, "Mods", false) guiWindowSetSizable(ventanamods, false) guiSetVisible (ventanamods, false) labelm1 = guiCreateLabel(30, 49, 110, 24, "Descargar skins", false, ventanamods) guiLabelSetHorizontalAlign(labelm1, "center", false) labelm2 = guiCreateLabel(30, 206, 110, 24, "Descargar autos", false, ventanamods) guiLabelSetHorizontalAlign(labelm2, "center", false) botonprenders = guiCreateButton(40, 104, 85, 24, "Prender", false, ventanamods) botonprendera = guiCreateButton(40, 259, 85, 24, "Prender", false, ventanamods) addEventHandler("onClientGUIClick", botonprenders, downloadskins, false) addEventHandler("onClientGUIClick", botonprendera, downloadautos, false) end ) bindKey( "F6", "down", function ( ) visableornot = guiGetVisible (ventanamods) if (visableornot == true) then guiSetVisible (ventanamods, false) showCursor (false) end if (visableornot == false) then guiSetVisible (ventanamods, true) showCursor (true) end end ) -- start function downloadautos() end addEventHandler("onClientGUIClick", getResourceRootElement(getThisResource()), downloadautos) --- hola txd = engineLoadTXD ( "turismo.txd" ) engineImportTXD ( txd, 451 ) dff = engineLoadDFF ( "turismo.dff", 0 ) engineReplaceModel ( dff, 451 ) txd = engineLoadTXD ( "swat.txd" ) engineImportTXD ( txd, 285 ) dff = engineLoadDFF ( "swat.dff", 0 ) engineReplaceModel ( dff, 285 ) txd = engineLoadTXD ( "infernus.txd" ) engineImportTXD ( txd, 411 ) dff = engineLoadDFF ( "infernus.dff", 0 ) engineReplaceModel ( dff, 411 ) txd = engineLoadTXD ( "hotring.txd" ) engineImportTXD ( txd, 494 ) dff = engineLoadDFF ( "hotring.dff", 0 ) engineReplaceModel ( dff, 494 ) function downloadskins ( ) downloadFile ( "swat.txd" ) downloadFile ( "swat.dff" ) end addEventHandler ( "onClientGUIClick", resourceRoot, downloadskins ) function downloadautos ( ) downloadFile ( "turismo.txd" ) downloadFile ( "turismo.dff" ) downloadFile ( "infernus.txd" ) downloadFile ( "infernus.dff" ) downloadFile ( "hotring.txd" ) downloadFile ( "hotring.dff" ) end addEventHandler ( "onClientGUIClick", resourceRoot, downloadautos ) y en la meta "Andres" name="modsdownloader" version="1.1" type="script"/>
-
Hola Foro de mta, necesito ayuda en que cuando un player entre a mi servidor no le descargue el skin que se lo descargue mientras juega desde ya muchas gracias
-
ya lo solucioné, perdon por hacer un repost.
-
aqui les dejo la linea. addEventHandler( 'onResourceStart', resourceRoot, function() sql.Query( "CREATE TABLE IF NOT EXISTS Gang_truf (\ ID INTEGER, X REAL, Y REAL, W REAL,\ H REAL, Gang STRING, R ,\ G , B , sX REAL, sY REAL, sZ REAL )" ) setTimer (TiempoDeTrufs, 50000, 0) local t = sql.Query( "SELECT * FROM Gang_truf" ) for i = 1, #t do createTruf( t[i].ID, t[i].X, t[i].Y, t[i].W, t[i].H, t[i].Gang, t[i].R, t[i].G, t[i].B, t[i].sX, t[i].sY, t[i].sZ ) end end )
-
Tengo Un vendito error: WARNING: Loading script failed: Gang-System/Trufs.lua:5: unfinished string near '"local turfPos = {'
-
ahorita lo postea mi amigo
-
un gang system que me dio @ignacio sinfreu que el lo diseñó con funciones de otro script parecido... el punto es que el tampoco sabe porque le salta ese error.
-
¿alguién me podrá ayudar con este error? [2014-04-19 17:18:27] ERROR: Gang-System/server.lua:80: Database query failed: no such table: GangMembers