Jump to content

zorrigas

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by zorrigas

  1. Stolen lua: https://community.multitheftauto.com/in ... ls&id=4487
  2. Download a shader example and learn how replace ! client: texShader = dxCreateShader ( "texreplace.fx" ) texture = dxCreateTexture("floor.png") dxSetShaderValue(texShader,"gTexture",texture) -- you can get textname with this shader [url=https://wiki.multitheftauto.com/wiki/Shader_examples#Texture_names]https://wiki.multitheftauto.com/wiki/Sha ... ture_names[/url] engineApplyShaderToWorldTexture(texShader,"texturename") texreplace.fx: // Variable to fetch the texture from the script texture gTexture; // My nice technique. Requires absolutely no tools, worries nor skills technique TexReplace { pass P0 { // Set the texture Texture[0] = gTexture; // LET THE MAGIC DO ITS MAGIC! } }
  3. use S H A D E R S then, only need replace text name and this works on all objects with her name
  4. 1. Learn https://wiki.multitheftauto.com/wiki/Shader_examples 2. viewtopic.php?f=91&t=65025&p=613820#p613820 Only need put ids, and script make rest... READ CODE
  5. -- not tested but logically should work local txd1 = engineLoadTXD ( "des_ne.txd" ) local ids1 ={16103, 16171, 16172, 16173} -- add more you for k,v in ipairs(ids1) do engineImportTXD ( txd1, v ) end also use shader would be better?
  6. Update http://linux.multitheftauto.com Temporary Link (Nightly Version) https://nightly.multitheftauto.com/multitheftauto ... 1CE.tar.gz
  7. All Random -- zorrigas 18:32 GMT-4 30/SEPT/2011 resRoot = getResourceRootElement(getThisResource()) addEventHandler("onResourceStop", resRoot, function() resetWaterColor() resetSkyGradient() resetVehicleColor() end) addEventHandler("onResourceStart", resRoot, function() setTimer(colores,275,0) end) function colores() -- se definen los colores setSkyGradient(math.random(0,255),math.random(0,255),math.random(0,255),math.random(0,255),math.random(0,255),math.random(0,255)) setWaterColor(math.random(0,255),math.random(0,255),math.random(0,255)) for i, auto in ipairs( getElementsByType( "vehicle" ) ) do setVehicleColor ( auto,math.random(0,255),math.random(0,255),math.random(0,255),math.random(0,255),math.random(0,255),math.random(0,255) ) end end
  8. to many timers, all functions on 1 timer viewtopic.php?f=91&t=36202&p=373313#p373310
  9. Working Script, ServerSide, not tested but should work [1.1] -- zorrigas 18:21 GMT-4 30/SEPT/2011 resRoot = getResourceRootElement(getThisResource()) addEventHandler("onResourceStop", resRoot, function() resetWaterColor() resetSkyGradient() resetVehicleColor() end) addEventHandler("onResourceStart", resRoot, function() setTimer(colores,275,0) end) function colores() -- se definen los colores local color1 = math.random(0,255) local color2 = math.random(0,255) local color3 = math.random(0,255) local color4 = math.random(0,255) local color5 = math.random(0,255) local color6 = math.random(0,255) setSkyGradient(color1,color2,color3,color4,color5,color6) setWaterColor(color1,color2,color3) for i, auto in ipairs( getElementsByType( "vehicle" ) ) do setVehicleColor ( auto,color1,color2,color3,color4,color5,color6 ) end end
  10. you are bad. resetWaterColor and setWaterColor is Client and Server function on 1.1! all functions work in serverside but have a bad elements. for i, car in ipairs( getElementsByType( "vehicle" ) ) do ....... setVehicleColor ( car, color[1], color[2], color[3] ) end end PD for SnoopCat: Fuga ahora no puedes decir que no te ayude, deja de hacer copy paste de scripts y lee el wiki!
  11. onResourceStart is ServerSide event, cant runit on ClientSide, Bad Copy Paste. setVehicleColor(VEHICLE NO ID, color1,color2,color3,color4)
  12. getPedOccupiedVehicle attachElements
  13. FALSE! Handling modification, Carmods, (.dat, .ide, etc files) not allowed according to the server. <verifyclientsettings>0</verifyclientsettings> for disable Change MODELS TXD, DFF, Cols, etc no gives problems.
  14. MaxiGames.cl: Somos una empresa Chilena con profesionales con mas de 5 años de experiencia en el rubro. Contamos con un Datacenter Propio en la Ciudad de Santiago, Chile. Con un enlace de 1 Gbps Carrier Class! Contamos con servidores con Tecnología Intel® Quad Core! * Uptime de 99.8% * Activación del Servicio en menos de 1 Hora hábil. * Bajas Latencias! * El Mejor Soporte! Algunos de nuestros servicios: * Counter-Strike 1.6 - Source * MoH: Allied Assault * Call Of Duty Series * Halo * Teamspeak 2,3 * Ventrilo y Mucho Mas! Para mas informacion visita http://www.maxigames.cl English Version: Clic Here!
  15. Possible hacking attempt in https://community.multitheftauto.com https://community.multitheftauto.com/index.php?p= ... ils&id=677
  16. other, and other, and other.... https://community.multitheftauto.com/index.php?p= ... ils&id=651 https://community.multitheftauto.com/index.php?p= ... ils&id=650 https://community.multitheftauto.com/index.php?p= ... ils&id=649 https://community.multitheftauto.com/index.php?p= ... ils&id=647
  17. May be a possibility, but did not pass mta 1.0.0, I have a friend who has a Radeon HD5450 + a core duo happens
  18. Very laggy =( Also occurs in the fallout gamemode.
  19. That is 1% of the script, missing functions.
  20. That is 1% of the script, missing functions.
×
×
  • Create New...