Search the Community

Showing results for tags 'resources'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • community.mtasa.com
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Gang


Location


Occupation


Interests

Found 22 results

  1. Fala galera, estou com um problema na nova versão do MTA, seguinte quando eu edito algo no freeroam e salvo, depois vou no Painel Admin e do um restart na resource "Freeroam", e não muda nada continua como padrão, só muda quando eu desligo o servidor e volto a liga-lo ai sim eu vejo oque eu mudei!.Será que é algum bug ou uma opção no servidor que esteja causando esse bug?, em versões antigas do MTA, o RESTART na, resource funciona normalmente, sem eu precisar desliga e ligar o servidor novamente.Estou a 2 dias, procurando a solução e nada ate agora, se alguma alma viva que esteja com o mesmo problema e tenha conseguido corrigir isso, pls mande a solução, grato!.
  2. Server closed, mode resources https://drive.google.com/file/d/1a1LhPHrO0mmq2bSfqlUhCwS2BOwyQeCt/view
  3. Server closed, mode resources https://drive.google.com/file/d/1a1LhPHrO0mmq2bSfqlUhCwS2BOwyQeCt/view
  4. Maruchan

    AYUDA CON MI SISTEMA

    Tengo errores en esta funciones dentro de mi sistema de nivel me ayudarían a solucionarlo por favor?. ---EN EL SERVER TENGO ESTE ERROR AQUI: getPlayerEXP = function(l_13_0) if not tonumber(getElementData(l_13_0, "exp")) then -- return not l_13_0 or type(l_13_0) ~= "userdata" or getElementType(l_13_0) ~= "player" or 0 -- do return end -- AQUI end outputDebugString("Bad argument @ 'getPlayerEXP' [Expected player element at argument 1, got " .. tostring(l_13_0) .. "]", 2) return false end -- EN EL CLIENTE TENGO ESTE ERROR AQUI EN LAS MIMAS LINEAS: getPlayerEXP = function(l_7_0) if not tonumber(getElementData(l_7_0, "exp")) then return not l_7_0 or type(l_7_0) ~= "userdata" or getElementType(l_7_0) ~= "player" or 0 do return end -- AQUI end outputDebugString("Bad argument @ 'getPlayerEXP' [Expected player element at argument 1, got " .. tostring(l_7_0) .. "]", 2) return false end -- LOS ERRORES SON DE: `end`expected (to close `if` at line 197) near do
  5. where i can change the text from that circled photo??? where is placed in resources ?? in announcement isn't https://imgur.com/a/galEmaI PLEASE HELP MEEEE
  6. Thailso

    Help Me fix this

    I already rebooted the mta, gave stop and restart in the panel of the host and did not return the resources https://uploaddeimagens.com.br/imagens/mta-screen_2018-05-08_22-42-39-png
  7. Tinkerino

    [BUY] Resources for my DayZ Server

    Hello! I would like to buy some resources for my dayz server. (Anyway, if you have/know any free res. you can share it if u want wink wink) PAYPAL Only! I can pay enough for nice resource. ↓ ↓ ↓ ↓ ↓ ↓ Thank you,have a nice day/night/whatever you want #SryForMyBadEnglish
  8. Hi... i'm making my own rpg / rp server with my friend and i have a little issue As you can see in the title; when i start a new resource when my "rpg" gamemode is enabled the maps are loaded multiple times, so i have to restart my "rpg" gamemode to have just a single map loaded It means that, for example, i hit a marker and the GUI is displayed 2 times (Because there are 2 markers in the same place) The way to load maps i do is in 'meta' like this: ----------------------------------------------------------------------------------------------------------------- <meta> <!-- MAPPING --> <script src="mapping/mapEditorScriptingExtension_s.lua" type="server"></script> <script src="mapping/mapEditorScriptingExtension_c.lua" type="client" validate="false"></script> <map src="mapping/BASE_Map.map" dimension="0"></map> <!-- MARKERS --> <map src="markers/freecars.map" dimension="0" /> <script src="markers/freecars_s.lua" type="server" /> <script src="markers/freecars_c.lua" type="client" /> </meta> ------------------------------------------------------------------------------------------------------------ I saw another post that probably talks about the same problem, but, at least i noticed is map loading's fault: https://forum.gtanet.work/index.php?threads/entershape-gets-triggered-twice.2044/ If you know how to solve this kind of "over load" it's perfect for me But if you don't really know i would like to know a different ways (As much ways as you know) to load those maps when i start my rpg mode Thanks <3
  9. SebasNRZ

    Hospital Respawn

    Hola , queria una ayuda con el respawn de hospitales mas cercanos , quiero que los users vayan al hospital mas cercano cuando mueren , pero no puedo , siempre me dirije el hospital LS , cerca de groove, desactive el play para ver si era eso , sin embargo me seguia pasando lo mismo , me dirigia al hospital ls , y entonces desactive el respawn que tenia puesto , y cuando moria iba al mismo hospital LS , y nose como sacar ese respawn que solo vaya al hospital ls.
  10. MANSOR12312

    Battle royale Backup

    hi. im looking for pubg (battle ground) backup any 1 please?
  11. GonzaloBuenosAires

    Mira esto por favor...

    Me ayudan con este pequeño problema?, es un error que me tira estas lineas cuando me acerco a una tent (tienda de campaña) if getElementData(source,"vehicle") then if not getElementData(source,"deadVehicle") then showClientMenuItem("Vehicle",(getVehicleName(getElementData(source,"parent")) or "Tienda de Campaña"),getElementData(source,"parent")) -- ERROR AQUI setElementData(getLocalPlayer(),"currentCol",source) setElementData(getLocalPlayer(),"loot",true) setElementData(getLocalPlayer(),"lootname","Gear ("..(getVehicleName(getElementData(source,"parent")) or "Tienda de Campaña")..")") -- ERROR AQUI setNewbieInfo(true,"Equipo","Presiona J para acceder al inventario!",source) return end end Los errores son: Bad argument @ getvehiclename....
  12. Hello,i got a script which replaces the default sniper scope with a custom one by using shaders,now i got the bug that my scope doesnt draw correctly,it draws 4 scopes Here is the code table = { {"files/siterocket.png", "siterocket"}, {"files/SNIPERcrosshair.png", "SNIPERcrosshair"}, } addEventHandler( "onClientResourceStart", resourceRoot, function() for i = 1, #table do local shader, tec = dxCreateShader ( "texreplace.fx" ) local tex = dxCreateTexture ( ""..table[i][1].."" ) engineApplyShaderToWorldTexture ( shader, table[i][2] ) engineApplyShaderToWorldTexture ( shader, table[i][2].."lod" ) dxSetShaderValue ( shader, "gTexture", tex ) end end)
  13. Hello guys,i made something which replaces explosion sounds,weapon sounds,weapon models,sniper scope,rocket crosshair and disables default weapon sounds in 1 script,now the problem is whenever i shoot with my gun it makes me lag,i dont use any custom effects or stuff.Pls help. Thank You.Btw heres the code if u need local distance = 75 --distance from where you can hear the shot local explostionDistance = 150 local cSoundsEnabled = true local reloadSoundEnabled = false local explosionEnabled = true ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/knife.txd" ) engineImportTXD ( txd, 335) dff = engineLoadDFF ( "Weapons/knife.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 335) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/pistol.txd" ) engineImportTXD ( txd, 346) dff = engineLoadDFF ( "Weapons/pistol.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 346) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/silenced.txd" ) engineImportTXD ( txd, 347) dff = engineLoadDFF ( "Weapons/silenced.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 347) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/deagle.txd" ) engineImportTXD ( txd, 348) dff = engineLoadDFF ( "Weapons/deagle.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 348) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/shotgun.txd" ) engineImportTXD ( txd, 349) dff = engineLoadDFF ( "Weapons/shotgun.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 349) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/sawnoff.txd" ) engineImportTXD ( txd, 350) dff = engineLoadDFF ( "Weapons/sawnoff.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 350) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/striker.txd" ) engineImportTXD ( txd, 351) dff = engineLoadDFF ( "Weapons/striker.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 351) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/uzi.txd" ) engineImportTXD ( txd, 352) dff = engineLoadDFF ( "Weapons/uzi.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 352) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/mp5.txd" ) engineImportTXD ( txd, 353) dff = engineLoadDFF ( "Weapons/mp5.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 353) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/tec9.txd" ) engineImportTXD ( txd, 372) dff = engineLoadDFF ( "Weapons/tec9.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 372) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/ak47.txd" ) engineImportTXD ( txd, 355) dff = engineLoadDFF ( "Weapons/ak47.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 355) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/m4.txd" ) engineImportTXD ( txd, 356) dff = engineLoadDFF ( "Weapons/m4.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 356) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/rifle.txd" ) engineImportTXD ( txd, 357) dff = engineLoadDFF ( "Weapons/rifle.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 357) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/sniper.txd" ) engineImportTXD ( txd, 358) dff = engineLoadDFF ( "Weapons/sniper.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 358) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/launcher.txd" ) engineImportTXD ( txd, 359) dff = engineLoadDFF ( "Weapons/launcher.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 359) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/hlauncher.txd" ) engineImportTXD ( txd, 360) dff = engineLoadDFF ( "Weapons/hlauncher.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 360) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/minigun.txd" ) engineImportTXD ( txd, 362) dff = engineLoadDFF ( "Weapons/minigun.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 362) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/grenade.txd" ) engineImportTXD ( txd, 342) dff = engineLoadDFF ( "Weapons/grenade.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 342) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/teargas.txd" ) engineImportTXD ( txd, 343) dff = engineLoadDFF ( "Weapons/teargas.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 343) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/molotov.txd" ) engineImportTXD ( txd, 344) dff = engineLoadDFF ( "Weapons/molotov.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 344) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) function replaceWeapon() txd = engineLoadTXD ( "Weapons/satchel.txd" ) engineImportTXD ( txd, 363) dff = engineLoadDFF ( "Weapons/satchel.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 363) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/parachute.txd" ) engineImportTXD ( txd, 371) dff = engineLoadDFF ( "Weapons/parachute.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 371) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----RIP function replaceWeapon() txd = engineLoadTXD ( "Weapons/bomb.txd" ) engineImportTXD ( txd, 364) dff = engineLoadDFF ( "Weapons/bomb.dff") -- use weapon model ID, not GTA weapon ID (model ID from https://wiki.multitheftauto.com/wiki/Weapons) engineReplaceModel ( dff, 364) -- Likewise, model ID, for M4 as example it's 356 end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceWeapon) ----Adds New Explosion Sounds addEventHandler("onClientExplosion", getRootElement(), function(x,y,z, theType) local Sdimension = getElementDimension(source) local Sinterior = getElementInterior(source) if(explosionEnabled)then if(theType == 0)then--Grenade local explSound = playSound3D("Explosions/explosion1.mp3", x,y,z) setSoundMaxDistance(explSound, explostionDistance) setElementDimension(explSound, Sdimension) setElementInterior(explSound, Sinterior) elseif(theType == 4 or theType == 5 or theType == 6 or theType == 7)then --car, car quick, boat, heli local explSound = playSound3D("Explosions/explosion3.mp3", x,y,z) setSoundMaxDistance(explSound, explostionDistance) setElementDimension(explSound, Sdimension) setElementInterior(explSound, Sinterior) elseif(theType == 1)then else local explSound = playSound3D("Explosions/explosion2.mp3", x,y,z) setSoundMaxDistance(explSound, explostionDistance) setElementDimension(explSound, Sdimension) setElementInterior(explSound, Sinterior) end end end) ----Adds New Weapon Sounds function playSounds(weapon, ammo, ammoInClip) if(cSoundsEnabled)then local x,y,z = getElementPosition(source) if weapon == 31 then --m4 if(ammoInClip == 0 and reloadSoundEnabled)then mgReload("Sounds/m4.wav", x,y,z) else local sound = playSound3D("Sounds/m4.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 22 then --pistol if(ammoInClip == 0 and reloadSoundEnabled)then pistolReload("Sounds/pistole.wav", x,y,z) else local sound = playSound3D("Sounds/pistole.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 23 then --silenced if(ammoInClip == 0 and reloadSoundEnabled)then pistolReload("Sounds/silenced.wav", x,y,z) else local sound = playSound3D("Sounds/silenced.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 24 then --deagle if(ammoInClip == 0 and reloadSoundEnabled)then pistolReload("Sounds/deagle.wav", x,y,z) else local sound = playSound3D("Sounds/deagle.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 25 then --shotgun if(weapon == 25)then local sound = playSound3D("Sounds/shotgun.wav", x,y,z) setSoundMaxDistance(sound, distance) shotgunReload(x,y,z) else local sound = playSound3D("Sounds/shotgun.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 28 then --uzi if(ammoInClip == 0)then mgReload("Sounds/uzi.wav", x,y,z) else local sound = playSound3D("Sounds/uzi.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 38 then --minigun if(ammoInClip == 0)then mgReload("Sounds/minigun.wav", x,y,z) else local sound = playSound3D("Sounds/minigun.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 29 then --mp5 if(ammoInClip == 0 and reloadSoundEnabled)then mgReload("Sounds/mp5.wav", x,y,z) else local sound = playSound3D("Sounds/mp5.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 26 then --sawnoff if(ammoInClip == 0 and reloadSoundEnabled)then mgReload("Sounds/sawnoff.wav", x,y,z) else local sound = playSound3D("Sounds/sawnoff.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 27 then --sawnoff if(ammoInClip == 0 and reloadSoundEnabled)then mgReload("Sounds/striker.wav", x,y,z) else local sound = playSound3D("Sounds/striker.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 32 then --tec-9 if(ammoInClip == 0)then tec9Reload(x,y,z) else local sound = playSound3D("Sounds/tec-9.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 30 then --ak if(ammoInClip == 0 and reloadSoundEnabled)then mgReload("Sounds/ak.wav", x,y,z) else local sound = playSound3D("Sounds/ak.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 33 then --rifle if(ammoInClip == 0 and reloadSoundEnabled)then mgReload("Sounds/rifle.wav", x,y,z) else local sound = playSound3D("Sounds/rifle.wav", x,y,z) setSoundMaxDistance(sound, distance) end elseif weapon == 34 then --sniper local sound = playSound3D("sounds/sniper.wav", x,y,z) setSoundMaxDistance(sound, distance) end end end addEventHandler("onClientPlayerWeaponFire", getRootElement(), playSounds) ----Disables Default Explosion And Weapon Sounds setWorldSoundEnabled(5, false) function removeWorldSounds() setWorldSoundEnabled(5, 3, false) setWorldSoundEnabled(5, 4, false) setWorldSoundEnabled(5, 5, false) setWorldSoundEnabled(5, 6, false) setWorldSoundEnabled(5, 7, false) setWorldSoundEnabled(5, 8, false) setWorldSoundEnabled(5, 11, false) setWorldSoundEnabled(5, 12, false) setWorldSoundEnabled(5, 13, false) setWorldSoundEnabled(5, 14, false) setWorldSoundEnabled(5, 15, false) setWorldSoundEnabled(5, 16, false) setWorldSoundEnabled(5, 17, false) setWorldSoundEnabled(5, 18, false) setWorldSoundEnabled(5, 21, false) setWorldSoundEnabled(5, 22, false) setWorldSoundEnabled(5, 23, false) setWorldSoundEnabled(5, 24, false) setWorldSoundEnabled(5, 26, false) setWorldSoundEnabled(5, 27, false) setWorldSoundEnabled(5, 29, false) setWorldSoundEnabled(5, 32, false) setWorldSoundEnabled(5, 33, false) setWorldSoundEnabled(5, 52, false) setWorldSoundEnabled(5, 55, false) setWorldSoundEnabled(5, 63, false) setWorldSoundEnabled(5, 73, false) setWorldSoundEnabled(5, 76, false) setWorldSoundEnabled(5, 83, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), removeWorldSounds) ----Replaces The Sniper Crosshair table = { -- you can add more stuff here :) -- Crosshair {"files/siterocket.png", "siterocket"}, {"files/SNIPERcrosshair.png", "SNIPERcrosshair"}, } addEventHandler( "onClientResourceStart", resourceRoot, function() for i = 1, #table do local shader, tec = dxCreateShader ( "texreplace.fx" ) local tex = dxCreateTexture ( ""..table[i][1].."" ) engineApplyShaderToWorldTexture ( shader, table[i][2] ) engineApplyShaderToWorldTexture ( shader, table[i][2].."lod" ) dxSetShaderValue ( shader, "gTexture", tex ) end end)
  14. GonzaloBuenosAires

    Me ayduas por favor?

    Como es esto? tengo estas funciones la primera es la función de que si te rompes los huesos no puedes correr ni saltar... La segunda es la función de que si tieens sueño no puedes correr pero SI saltar... Cúal es el problema? pues es que cuando te rompes los huesos puedes correr pero no saltar.... La verdad no se que pasa es como si estuvieran mezcladas las funciones (mal colocadas nosé). function checkBrokenbone() if getElementData(getLocalPlayer(), "logedin") then if getElementData(getLocalPlayer(), "brokenbone") or getElementData(localPlayer,"sleep") <= 0 then if not isPedDucked(getLocalPlayer()) then end toggleControl("jump", false) toggleControl("sprint", false) else toggleControl("jump", true) toggleControl("sprint", true) end end end setTimer(checkBrokenbone, 1400, 0) --------------------------------------------------- --sleep function checkSleeping() if getElementData(getLocalPlayer(),"logedin") then if getElementData(getLocalPlayer(),"sleep") <= 20 then if not isPedDucked(getLocalPlayer()) then end toggleControl ( "sprint", false ) else toggleControl ( "sprint", true ) end end end setTimer(checkSleeping,1400,0) Se supone que la idéa sería que si me rompo los huesos no pueda correr ni saltar y cuando tenga sueño no pueda correr pero SI saltar.... Cúal es la solución chicos?????
  15. Troken_XD

    Resources No Loading

    My Resources Do Not Load On My Server, I'm With 216 Resources, And My Last 2 Do not Load, I Need Help, It's All Right In It, With the .lua file and the meta.xml file please help me By: Troken_XD
  16. GonzaloBuenosAires

    ME AYUDARIAS CON ESTA PEQUEÑA COSA?

    He echarías una mano te lo ruego? Me solucionarías estas líneas?... function debugJump() if PedControlState("jump") then Aqui el error ---- attempt to call global ´PedControlState´ (a nil value) setElementData(getLocalPlayer(), "jumping", true) setTimer(debugJump2, 650, 1) end end setTimer(debugJump, 100, 0) function debugJump2() setElementData(getLocalPlayer(), "jumping", false) end Y luego esta parece ser el mismo error que el de arriba: function debugShooting() if PedControlState("fire") then -- Error-- attempt to call global ´PedControlState´ (a nil value) local weapon = getPedWeapon(getLocalPlayer()) local noise = getWeaponNoise(weapon) or 0 setElementData(getLocalPlayer(), "shooting", noise) if shootTimer then killTimer(shootTimer) end shootTimer = setTimer(debugShooting2, 100, 1) end end setTimer(debugShooting, 100, 0) function debugShooting2() setElementData(getLocalPlayer(), "shooting", 0) shootTimer = false end
  17. Andres99907

    Any resource to save vehicles?

    any resource to save vehicles? I've been investigating this and I have not found anything that works
  18. Hey so ummm, i'm new in MTA so im just asking, Can we Install MTA's resources to Our GTA San Andreas Offline? Thanks!
  19. FernandoMTA

    Open Source Roleplay Resource Pack

    Open Source Roleplay Hi there. As most of you know there aren't many strict roleplay servers on Multi Theft Auto for various reasons; one of the main reasons being that there aren't any roleplay resources out there for one to download and create a server, so people resort to using leaked roleplay scripts from previously hacked servers, which results in DDoS wars, hacking, revenge, servers getting taken down, and so on. In the end, only one server stays up and that is the one and only OwlGaming that has been around since 2014. Ofcourse you can find old and outdated roleplay scripts on the internet that you could use for your server for example vG and uG scripts. But there's no point in using those since they're old, malfunction and players dislike them. For a long time no one has ever decided to work publicly on an open source roleplay resource pack. I think if we want MTA to evolve it should be time that we all unite and get our hands on some RP scripts that anyone can download and make a server with. You may ask: wouldn't this mean there'd be tons of identical roleplay servers out there? There would, but that's actually the point. If we want MTA to grow and attract more players to it this is the solution: allow people to create their own rolpeplay servers legally without using any stolen scripts. This thread is a suggestion and its intention is to discuss this matter and maybe gather scripters to create this unique Open Source Roleplay resource pack for the community to use. It doesn't need to be super high quality and detailed. It should contain the basic scripts that allow roleplay to take place. For those that are not very familiar with it let me list some down: • Account System • Login Panel • Tutorial • Vehicle System • Property/Interior System • Bank/Currency System • Inventory System • Faction System • Elevator System • Faction System • Gate System • Fuel System • Chat System • GPS Sytem | Map Blips • Help System • Admin System • Radio System • Phone System • Donation System • Event System ... Let's end the suffering, the DDoS wars, the hacking, the leaked scripts and let's all join together and create the best roleplay scripts out there! It won't take long to make and it won't require a lot of effort if done in a large team of contributors. And thanks to MTA's almost non-existing scripting limitatios we can beat SAMP in this! Leave your opinion and comment below. Cheers. <3
  20. Então sou meio novo nesse sistema de editar servidor procurei no youtube,mas não achei nenhum tutorial bom para ensinar a instalar resources. outro fato é que não conisgo apertar P e entrar no painel de admin o terceiro fato é como ativo o modo debug?
  21. Beyler bayanlar ben kendi serverimde tct kullanırken sıkıntılar yaşıyorum numpadde hareket ettiremiyorum koyuyor alabiliyor fln yani sadece 5-3 çalışıyor yardım edebilirmisiniz ileri it geri çek yer yana kaydır yok HELP PLS!
  22. Noki

    [Selling] UCD - RPG

    Hi, After 2 years of development, refinement and testing, I finally released UCD. It was the 29th of July (30th for me) and I was stoked. Finally released my server I (and a select few others) had worked so hard on. It was up for a week before I decided that I was going to move on from MTA. I could give a speech about how it isn't what it used to be, but I don't want to bore you all. So the dream kind of died when I lost interest in dealing with the community. I spent a lot of time and effort on this server, so I figured someone else might find some use out of it. I started to develop this server when I knew nothing about Lua, so a lot of things were rewritten over and over. I feel as though that guarantees some kind of quality. I dunno. I guess the repetition to find the right way kind of makes it good. Preface: It's basically a CIT rip off. This server features: - Stock market (players loved this) - Turfing system - Account + login system (integrated with MTA account system, doesn't store passwords on a database) - Made to work with MySQL - Vehicle system - Housing system with coordinates (covers like 60% of the map, you can add more) - Intensive logging - Phone system (like CIT's) - House robbing - Old CIT style bank robbery (map and everything) - Custom mod downloader system - Two different dx message outputs (with exports) - Pilot job (with ranks) - Trucker job (with ranks) - Full law system - Stats panel - Fully fledged group system with custom ranks, custom permissions, etc (like CIT's) - Admin panel (mutes, bans, jails etc) - Jail system (CnR and admin jails) - Builder where you can build bases in-game (https://www.youtube.com/watch?v=EARoCNWpEdMHonestly, it has a lot of features that would take me a long time to list. I developed it to be as user-friendly as possible (but didn't make a tutorial - how thoughtful). There aren't any hidden commands, which is good. The design is made to be simple and nice. The interfaces are spaced nicely. Overall, a lot of effort has been put it in and it really shows. Group system: Credits: - Noki - Risk - Carl/Rizk I have the database and everything for it. I have the domain "ucdmta.com" as well. Add me on Skype to discuss (i.love.kuda.noki) or email me at hello@ucdmta,com or noki@zorque.xyz. I am willing to discuss overs and negotiate. More screenshots will be posted if I manage to find any.