zorrigas

Members
  • Content count

    58
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zorrigas

  • Rank
    Snitch
  • Birthday 07/12/92

Details

  • Gang
    [GT]
  • Location
    Chile
  • Occupation
    Webmaster, Scripter... :B
  1. Report community resources here!

    Stolen lua: https://community.multitheftauto.com/in ... ls&id=4487
  2. Very annoying trouble. :|

    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=http://wiki.multitheftauto.com/wiki/Shader_examples#Texture_names]http://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. Very annoying trouble. :|

    use S H A D E R S then, only need replace text name and this works on all objects with her name
  4. Very annoying trouble. :|

    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. Very annoying trouble. :|

    -- 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. Multi Theft Auto: San Andreas 1.3.4 released!

    Update http://linux.mtasa.com Temporary Link (Nightly Version) http://nightly.mtasa.com/multitheftauto ... 1CE.tar.gz
  7. Sky GRadient Water color and vehicle color problem

    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. Sky GRadient Water color and vehicle color problem

    to many timers, all functions on 1 timer viewtopic.php?f=91&t=36202&p=373313#p373310
  9. Sky GRadient Water color and vehicle color problem

    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. Sky GRadient Water color and vehicle color problem

    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. Sky GRadient Water color and vehicle color problem

    onResourceStart is ServerSide event, cant runit on ClientSide, Bad Copy Paste. setVehicleColor(VEHICLE NO ID, color1,color2,color3,color4)
  12. Radio streaming 3d resource

    getPedOccupiedVehicle attachElements
  13. [REL] Oldgarage Doherty [MAP-SCRIPT]

    Link Fixed