Jump to content

raikjars

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by raikjars

  1. perdon.. otra pregunta?? como hago para reemplazar las armas?? de la misma forma pero cambiando el id?? o como seria el script?? gracias.. perdon por tantas preguntas, es que soy nuevo en esto..
  2. huu.. que lastima... que mala suerte.... gracias igual..
  3. hola a todos estoy buscando algun script que configure las armas. osea el poder de tiro, la precision, la municion y todo lo demas, pero no encontre por nungun lado alguno. me podrian ayudar? es que nose casi nada de scriptacion y se me hace dificil haer uno. almenos diganmen alguna idea de como hacerlo, con algun ejemplo y despues yo me guio un poco.. o no se puede hacer ese script? estoy usando la vercion del mta 1.1 gracias de adelantado
  4. ni idea tengo el archivo dff y el txd en el archivo tengo el lua bien hecho no se que tiene intente hacer uno pero modificando uno solo en ves de dos y este si aparece en la lista de script por activar pero aunque lo active no funciona :l gracias igual
  5. oye gracias pero el script no me funciono lo ise como me dijiste y e hecho otro par de script pero este no lo entiendo el meta.xml "raikjars" name="skins" version="1.0.0" type="script"/> "ichigo.txd" type="client" /> "ichigo.dff" type="client" /> "naruto.txd" type="client" /> "naruto.dff" type="client" /> y el client local skins = {{"ichigo", 46}, {"naruto", 53}} function load() for index, skin in pairs(skins) do txd = engineLoadTXD ( skin[1].. ".txd" ) engineImportTXD ( txd, skin[2] ) dff = engineLoadDFF ( skin[1].. ".dff", 0 ) engineReplaceModel ( dff, skin[2] ) end end addEventHandler("onClientResourceStart",resourceRoot, function () local version = getVersion() if version.mta == "1.1.1" then setTimer ( load, 1000, 1) end end) asi exactamente esta no se que pueda tener mal espero no este molestando mucho con esto
  6. OK MUCHAS GRACIAS.. LO SIENTO POR CREAR MUCHOS POST, ES QUE SOY NUEVO EN ESTO AHORA,, TENGO UNA DUDA.. EN DONDE DICE skin[1]... ¿que se pone entre los parentesis? o es a carpeta? AL PRINCIPIO: local skins = {{"homero", 46}, {"pikachu", 53}} ¿que es eso? la carpeta o solo los nombres de los archivos?? Y OTRA COSA MAS : DONDE DICE ".dff" ¿pongo el nombre del archivo verdad?? perdon por tantas preguntas, es que me estoy iniciando en esto recien. XP
  7. hi .. I have no doubt with the mta 1.1 (the new vercion) I've seen on this page: https://wiki.multitheftauto.com/wiki/EngineReplaceModel this script is used to replace models (DFF) of cars and objects, but I think it SAYS FROM THE vercion 1.1 Please PEDS AND WEAPONS FOR ... COULD BE TRUE?? because I've been testing with this script but I can not make it go for weapons and peds. there will be some modification to make it work?? as I do to replace the weapons? and peds? the examples given here the page: Example 1: Client Client-Side example for replacing vehicle model and texture with custom ones. function ReplaceVehicle ( ) outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) end addEvent ( "replaceVeh", true ) addEventHandler ( "replaceVeh", getRootElement(), ReplaceVehicle ) Server Server-side example function for triggering the replace. function ReplaceCommand ( ) triggerClientEvent( "replaceVeh", getRootElement(), replaceVeh ) end addCommandHandler( "replace", ReplaceCommand ) Example 2: Client Client-Side example for replacing object model, collision and texture with custom ones. function ReplaceObject ( ) txd = engineLoadTXD( "MyModel.txd" ) col = engineLoadCOL( "MyModel.col" ) dff = engineLoadDFF( "MyModel.dff", 0 ) --modelid is everytime 0, when you replace no vehicle engineImportTXD( txd, 1234 ) engineReplaceCOL( col, 1234 ) engineReplaceModel( dff, 1234 )-- replace the model at least end addEvent ( "replaceObj", true ) addEventHandler ( "replaceObj", getRootElement(), ReplaceObject ) Server Server-side example function for triggering the replace. function ReplaceCommand ( ) triggerClientEvent( "replaceObj", getRootElement(), replaceObj ) end addCommandHandler( "replace", ReplaceCommand ) PLEASE HELP ME
  8. hi .. I have no doubt with the mta 1.1 (the new vercion) I've seen on this page: https://wiki.multitheftauto.com/wiki/EngineReplaceModel this script is used to replace models (DFF) of cars and objects, but I think it SAYS FROM THE vercion 1.1 Please PEDS AND WEAPONS FOR ... COULD BE TRUE?? because I've been testing with this script but I can not make it go for weapons and peds. there will be some modification to make it work?? as I do to replace the weapons? and peds? the examples given here the page: Example 1: Client Client-Side example for replacing vehicle model and texture with custom ones. function ReplaceVehicle ( ) outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) end addEvent ( "replaceVeh", true ) addEventHandler ( "replaceVeh", getRootElement(), ReplaceVehicle ) Server Server-side example function for triggering the replace. function ReplaceCommand ( ) triggerClientEvent( "replaceVeh", getRootElement(), replaceVeh ) end addCommandHandler( "replace", ReplaceCommand ) Example 2: Client Client-Side example for replacing object model, collision and texture with custom ones. function ReplaceObject ( ) txd = engineLoadTXD( "MyModel.txd" ) col = engineLoadCOL( "MyModel.col" ) dff = engineLoadDFF( "MyModel.dff", 0 ) --modelid is everytime 0, when you replace no vehicle engineImportTXD( txd, 1234 ) engineReplaceCOL( col, 1234 ) engineReplaceModel( dff, 1234 )-- replace the model at least end addEvent ( "replaceObj", true ) addEventHandler ( "replaceObj", getRootElement(), ReplaceObject ) Server Server-side example function for triggering the replace. function ReplaceCommand ( ) triggerClientEvent( "replaceObj", getRootElement(), replaceObj ) end addCommandHandler( "replace", ReplaceCommand ) PLEASE HELP ME
  9. hola.. tengo otra duda con el mta 1.1 ( la nueva vercion) he visto en esta pagina: https://wiki.multitheftauto.com/wiki/EngineReplaceModel que este script sirve para reemplazar modelos (DFF) de autos y objetos, PERO CREO QUE TAMBIEN DICE QUE A PARTIR DE LA VERCION 1.1 SIRVE PARA PEDS Y ARMAS... PODRA SER CIERTO??? porque he estado probando con este script pero no logro hacerlo andar para las armas y los peds. habra que hacerle alguna modificacion para que funcione?? como hago para que reemplaze las armas?? y los peds?? aca los ejemplos que da la pagina: EJEMPLO 1: Client Client-Side example for replacing vehicle model and texture with custom ones. function ReplaceVehicle ( ) outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) end addEvent ( "replaceVeh", true ) addEventHandler ( "replaceVeh", getRootElement(), ReplaceVehicle ) Server Server-side example function for triggering the replace. function ReplaceCommand ( ) triggerClientEvent( "replaceVeh", getRootElement(), replaceVeh ) end addCommandHandler( "replace", ReplaceCommand ) EJEMPLO 2: Client Client-Side example for replacing object model, collision and texture with custom ones. function ReplaceObject ( ) txd = engineLoadTXD( "MyModel.txd" ) col = engineLoadCOL( "MyModel.col" ) dff = engineLoadDFF( "MyModel.dff", 0 ) --modelid is everytime 0, when you replace no vehicle engineImportTXD( txd, 1234 ) engineReplaceCOL( col, 1234 ) engineReplaceModel( dff, 1234 )-- replace the model at least end addEvent ( "replaceObj", true ) addEventHandler ( "replaceObj", getRootElement(), ReplaceObject ) Server Server-side example function for triggering the replace. function ReplaceCommand ( ) triggerClientEvent( "replaceObj", getRootElement(), replaceObj ) end addCommandHandler( "replace", ReplaceCommand ) GRACIAS DE ADELANTADO, SI ALGUIEN LO SABE PORFAVOR AYUDENMEN
  10. thanks is only about zombies? does not help me much because I'm using only normal bots.
  11. hi .. I wanted to ask for a small problem with the new 1.1 version of the mta I can not use the resource of slothman slothbot I wanted to ask if the new version was an error or mine??? actually has many flaws in the previous vercion not to .. for example, the attack .. and attitudes .. I do not detect, and when attacked only run in circles ... be my error? Here's the resource they might want to try .. http://www.megaupload.com/?d=GEZJVFPX I hope someone help me .. This is very important for my server. Thank you. I am Spanish and I am using a translator
  12. hola.. queria preguntar por un pequeño problema en la nueva version del mta 1.1 no me sirve el recurso slothbot de slothman queria preguntar si era por la nueva version o algun error mio??? en realidad tiene muchos fallos que en la vercion anterior no los hacia.. por ejemplo el de ataque.. y sus actitudes.. no me detectan, y cuando los atako solo corren en circulo... sera mi error?? aca esta el recurso por si quieren probar.. http://www.megaupload.com/?d=GEZJVFPX espero que alguien me ayude.. es de mucha importancia esto para mi server. gracias.
  13. OK GRACIAS A TODOS. ESPERO QUE SALGA UNA VERCION QUE SE PUEDA CAMBIAR EL MODELO 3D TAMBIEN JEJE
  14. yo no quiero usar el img tools para cambiar los modelos, quiero que todos lo vean igual. al cargar el recurso, no se cambia nada, ni siquiera la textura, pero si saco la linea de abajo: TV = engineLoadDFF ( "skins/MILITAR.dff" ) engineImportDFF ( TV, 285 ) ahi si se cambia la textura sola, pero no el modelo 3d. parece que en el comentario de arriba, tdavia no se puede cambiar los DFF.... SERA PARA TODAS LAS VERCIONES DE MTA IGUAL?? yo uso la 1.0.5. si alguien sabe como solucionarlo, avisen. gracias a los dos que contestaron
  15. HOLA GENTE TENGO UNA DUDA ESTOY INTENTANDO DE CAMBIAR LOS MODELOS 3D Y SUS TEXTURAS DEL MTA, PARA HACER UN SERVER. LA COSA ES QUE QUIERO HACER UN SCRIPT QUE REEMPLAZE LOS MODELOS 3D (DFF) Y SUS TEXTURAS (TXD), PERO SOLO CONSIGO REEMPLAZAR LA TEXTURA SOLA AL CARGAR EL RECURSO ESTE ES EL SCRIPT QUE ESTOY USANDO: function onResourceStart() Script.lua TV = engineLoadTXD ( "skins/MILITAR.txd" ) engineImportTXD ( TV, 285 ) TV = engineLoadDFF ( "skins/MILITAR.dff" ) engineImportDFF ( TV, 285 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) ALGUIEN ME PODRIA DECIR QUE ESTOY HACIENDO MAL??? O DE QUE OTRA FORMA SE PUEDE REMPLAZAR EL 3D(DFF)
  16. hello I'm looking for someone who knows a little lua to 1.0.5 script mta I need are simple things .... eg change the skins (both dff as TXD), or change the configuration of weapons out there .... and few things more (will be watching over time) the thing is so ... are creating a server with new models and a new style of play ... is a well known anime, GANTZ .... and want to do the most similar to the anime ..... but needs to make some modifications that around with a good script can you can. I do not know anything about programming, but rather I work to make the 3d models and dff. this request is urgent, because it is very close to complete, and if you get someone to help us, would be faster to finish .. if anyone cares, this is my email [email protected] or reply here I expect positive responses .... and proposals negotiable. thanks some pictures:
  17. hola ando buscando a alguna persona que sepa un poco de lua para hacer script para mta 1.0.5 lo que necesito son cosas simples.... como por ejemplo cambiar el skins( tanto dff como txd), o cambiar la configuracion de las armas....y por ahi algunas cositas mas(se va a ir viendo con el tiempo) la cosa es asi... se esta creando un server con modelos nuevos y un estilo nuevo de juego... se trata de un anime muy conocido, GANTZ.... y queremos hacer lo mas parecido posible al anime..... pero se precisa hacer unas modificaciones, que por ahi con un buen script capaz que se pueda. yo no se nada sobre programacion, mas bien me dedico a hacer los modelos 3d y dff. es urgente este pedido, porque falta muy poco para terminarlo, y si se consigue a una persona que nos ayude, seria mas rapido terminarlo.. espero respuestas positivas.... y propuestas negociables. gracias. algunas imagenes:
×
×
  • Create New...