Jump to content

Search the Community

Showing results for tags 'freeroam'.

  • 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
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

  1. Alguién me ayuda a solucionar el NETWORK TROUBLE?... =( Siempre que refrescan los items me da un lagaso... local h1,h2,h3 = debug.gethook() debug.sethook() timetorefresh = math.random(2700000,3600000) local itemTable = { farm = { { "Madera", 1463, 0.4, 0, 13 }, { "Vendaje", 1578, 0.5, 0, 4 }, { "Cantimplora de Agua LLena", 2683, 1, 0, 6 }, { "Lata de Pasta", 2770, 1, 0, 6 }, { "Lata de Judías", 2601, 1, 0, 6 }, { "Hamburguesa", 2768, 1, 0, 6 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "British Assault Pack", 2406, 1, 0, 2.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 3.5 }, { "Vest Pouch Pack", 2408, 1, 0, 2.2 }, { "Coca Cola", 2647, 1, 0, 9 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 10 }, { "Cuchillo", 335, 1, 90, 4 }, { "Caja de Cerillas", 328, 0.4, 90, 8 }, { "Revólver", 348, 1, 90, 0.2 }, { "Morfina", 1579, 1, 0, 4 }, { "Tienda de Campaña", 1279, 1, 0, 0.5 }, { "Makarov PM", 346, 1, 90, 4 }, { "Analgésico", 2709, 3, 0, 3.5 }, { "M14 AIM", 357, 1, 90, 0.3 }, { "Remington 870", 349, 1, 90, 0.3 }, { "Rueda", 1073, 1, 0, 2 }, { "Depósito", 1008, 1, 0.8, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Mapa", 1277, 0.8, 90, 6 }, { "GPS", 2976, 0.15, 0, 2 } }, residential = { { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 5 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Makarov PM", 346, 1, 90, 1.5 }, { "British Assault Pack", 2406, 1, 0, 1.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 1.5 }, { "Vest Pouch Pack", 2408, 1, 0, 1.2 }, { "M9 SD", 347, 1, 90, 1.9 }, { "Remington 870", 349, 1, 90, 0.1 }, { "PDW", 352, 1, 90, 1 }, { "Cuchillo", 335, 1, 90, 3 }, { "Hacha", 339, 1, 90, 1 }, { "Pizza", 1582, 1, 0, 7 }, { "Coca Cola", 2647, 1, 0, 7 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 9 }, { "Bengala", 324, 1, 90, 9 }, { "Leche", 2856, 1, 0, 7 }, { "Assault Pack (ACU)", 3026, 1, 0, 4 }, { "Analgésico", 2709, 3, 0, 7 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "Granada", 342, 1, 0, 0.01 }, { "Revólver", 348, 1, 90, 0.4 }, { "Escopeta Recortada", 350, 1, 90, 0.3 }, { "SPAZ-12 Combat Shotgun", 351, 1, 90, 0.4 }, { "MP5A5", 353, 1, 90, 0.4 }, { "Reloj", 2710, 1, 0, 3 }, { "Bolsa Térmica", 1576, 5, 0, 6 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 0.3 }, { "Alice Pack", 1248, 1, 0, 1.5 }, { "Rueda", 1073, 1, 0, 1 }, { "Depósito", 1008, 0.8, 0, 1 }, { "Morfina", 1579, 1, 0, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 9 }, { "Mapa", 1277, 0.8, 90, 10 }, { "GPS", 2976, 0.15, 0, 3 }, { "Lata de Pasta", 2770, 1, 0, 7 }, { "Lata de Judías", 2601, 1, 0, 7 }, { "Hamburguesa", 2768, 1, 0, 7 }, { "Palo de Golf", 333, 1, 90, 3 }, { "Bate", 336, 1, 90, 3 }, { "Pala", 337, 1, 90, 3 } }, military = { { "Caja de Cerillas", 328, 0.4, 90, 2 }, { "Makarov PM", 346, 1, 90, 5 }, { "M9 SD", 347, 1, 90, 4 }, { "Remington 870", 349, 1, 90, 3 }, { "PDW", 352, 1, 90, 4 }, { "Cuchillo", 335, 1, 90, 2.4 }, { "Hacha", 339, 1, 90, 2.1 }, { "Pizza", 1582, 1, 0, 2 }, { "Coca Cola", 2647, 1, 0, 2 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 4 }, { "Bengala", 324, 1, 90, 4 }, { "Leche", 2856, 1, 0, 1 }, { "Analgésico", 2709, 3, 0, 4 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "Granada", 342, 1, 0, 0.5 }, { "Escopeta Recortada", 350, 1, 90, 2.3 }, { "SPAZ-12 Combat Shotgun", 351, 1, 90, 2.3 }, { "MP5A5", 353, 1, 90, 2.8 }, { "Reloj", 2710, 1, 0, 4 }, { "Bolsa Térmica", 1576, 5, 0, 3 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 3.5 }, { "Alice Pack", 1248, 1, 0, 4 }, { "Visión Nocturna", 368, 1, 90, 4 }, { "Prismáticos", 369, 1, 0, 4 }, { "Rueda", 1073, 1, 0, 2 }, { "Depósito", 1008, 0.8, 0, 2 }, { "Morfina", 1579, 1, 0, 4 -- }, -- { -- "Camouflage Clothing", -- 1247, -- 2, -- 0, -- 4.5 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 3 }, { "AKS-74 Kobra", 355, 1, 90, 3.8 }, { "GPS", 2976, 0.15, 0, 3 }, { "Mapa", 1277, 0.8, 90, 7 }, { "Caja de Herramientas", 2969, 0.5, 0, 1 }, { "Motor", 929, 0.3, 0, 2 }, { "Tienda de Campaña", 1279, 1, 0, 4.5 -- }, -- { -- "Ghillie Suit", -- 1213, -- 2, -- 0, -- 0.3 -- }, -- { -- "Ghillie[F] Suit", -- 1213, -- 2, -- 0, -- 0.4 }, { "M4A3 CCO", 356, 1, 90, 2.4 }, { "CZ 550", 358, 1, 90, 0.4 }, { "Visión Térmica", 369, 1, 90, 3 }, { "Assault Pack (ACU)", 3026, 1, 0, 5 }, { "Czech Backpack", 2472, 1, 0, 2 }, { "Dispositivo de Radio", 330, 1, 0, 6 }, { "Coyote Backpack", 1575, 1, 0, 0.9 }, { "CMRA Backpack", 2405, -- ID DO OBJETO QUE IRÁ FICAR NAS COSTAS, E O QUE NÓS IREMOS SUBISTITUIR PELA BACKPACK 1, 0, 5 -- NIVEL DE RARIDADE DA BACKPACK }, { "Army Backpack", 2404, -- ID DO OBJETO QUE IRÁ FICAR NAS COSTAS, E O QUE NÓS IREMOS SUBISTITUIR PELA BACKPACK 1, 0, 5 -- NIVEL DE RARIDADE DA BACKPACK -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Pala", 337, 1, 90, 1 } }, industrial = { { "Alambrada", 933, 0.25, 0, 7 }, { "Caja de Herramientas", 2969, 0.5, 0, 3 }, { "Rueda", 1073, 1, 0, 4 }, { "Motor", 929, 0.3, 0, 3.5 }, { "Depósito", 1008, 1, 0.8, 4 }, { "Remington 870", 349, 1, 90, 3 }, { "Cantimplora de Agua LLena", 2683, 1, 0, 4 }, { "Lata de Pasta", 2770, 1, 0, 4 }, { "Lata de Judías", 2601, 1, 0, 4 }, { "Hamburguesa", 2768, 1, 0, 4 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 10 }, { "Coca Cola", 2647, 1, 0, 4 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 6 }, { "Bidón de Gasolina LLeno", 1650, 1, 0, 1.5 }, { "Mapa", 1277, 0.8, 90, 3 }, { "Reloj", 2710, 1, 0, 2 }, { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 2 }, { "Makarov PM", 346, 1, 90, 1.5 }, { "PDW", 352, 1, 90, 2 }, { "Cuchillo", 335, 1, 90, 2 }, { "British Assault Pack", 2406, 1, 0, 2.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 3.5 }, { "Vest Pouch Pack", 2408, 1, 0, 5.2 }, { "Hacha", 339, 1, 90, 1.5 }, { "Pizza", 1582, 1, 0, 4 }, { "Bengala", 324, 1, 90, 5 }, { "Leche", 2856, 1, 0, 4 }, { "Assault Pack (ACU)", 3026, 1, 0, 6 }, { "Coyote Backpack", 1575, 1, 0, 0.5 }, { "Dispositivo de Radio", 330, 1, 0, 6 }, { "Palo de Golf", 333, 1, 90, 1.5 }, { "Bate", 336, 1, 90, 1.5 }, { "Pala", 337, 1, 90, 1.5 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Visión Nocturna", 368, 1, 90, 1.5 } }, supermarket = { { "Carne Cruda", 2804, 0.5, 90, 8 }, { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 5 }, { "Makarov PM", 346, 1, 90, 3.5 }, { "PDW", 352, 1, 90, 2 }, { "Cuchillo", 335, 1, 90, 3 }, { "Hacha", 339, 1, 90, 2.1 }, { "Pizza", 1582, 1, 0, 7 }, { "Coca Cola", 2647, 1, 0, 7 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 5 }, { "Bengala", 324, 1, 90, 6 }, { "Leche", 2856, 1, 0, 7 }, { "Assault Pack (ACU)", 3026, 1, 0, 6 }, { "Lata de Pasta", 2770, 1, 0, 7 }, { "Lata de Judías", 2601, 1, 0, 7 }, { "Hamburguesa", 2768, 1, 0, 7 }, { "Analgésico", 2709, 3, 0, 7 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "MP5A5", 353, 1, 90, 0.5 }, { "Reloj", 2710, 1, 0, 3 }, { "Bolsa Térmica", 1576, 5, 0, 6 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 0.2 }, { "Alice Pack", 1248, 1, 0, 0.5 }, { "Rueda", 1073, 1, 0, 1 }, { "Depósito", 1008, 1, 0.8, 2 }, { "Morfina", 1579, 1, 0, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 3.5 }, { "Mapa", 1277, 0.8, 90, 4 }, { "GPS", 2976, 0.15, 0, 1 }, { "Dispositivo de Radio", 330, 1, 0, 6 }, { "Palo de Golf", 333, 1, 90, 1.9 }, { "Bate", 336, 1, 90, 1.4 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Pala", 337, 1, 90, 0.3 } }, other = { { "Carne Cruda", 2804, 0.5, 90 }, { "Carne Cocinada", 2806, 0.5, 90 }, { "Bidón de Gasolina LLeno", 1650, 1, 0 }, { "Cantimplora de Agua Vacía", 2683, 1, 0 -- }, -- { -- "Survivor Clothing", -- 1577, -- 2, -- 0 }, { "Visión Nocturna", 368, 1, 90 }, { "Visión Térmica", 369, 1, 90 }, { "Remington 870 Cartuchos", 2358, 2, 0 }, { "Esc. Recortada Cartuchos", 2358, 2, 0 }, { "SPAZ-12 Pellet", 2358, 2, 0 }, { "MP5A5 Mag", 2358, 2, 0 }, { "30Rnd. AK", 1271, 2, 0 }, { "30Rnd. STANAG", 1271, 2, 0 }, { "Makarov Mun.", 3013, 2, 0 }, { "M9SD Mun.", 3013, 2, 0 }, { ".45 ACP", 3013, 2, 0 }, { "CZ 550 Mag", 2358, 2, 0 }, { "DMR Mun.", 2358, 2, 0 }, { "PDW Mag", 2041, 2, 0 }, { "MP5A5 Mag", 2041, 2, 0 }, { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 5 }, { "Makarov PM", 346, 1, 90, 3.5 }, { "PDW", 352, 1, 90, 2 }, { "Cuchillo", 335, 1, 90, 2.5 }, { "Hacha", 339, 1, 90, 1.8 }, { "Pizza", 1582, 1, 0, 7 }, { "Coca Cola", 2647, 1, 0, 7 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 5 }, { "Bengala", 324, 1, 90, 6 }, { "Leche", 2856, 1, 0, 5 }, { "Assault Pack (ACU)", 3026, 1, 0, 6 }, { "Analgésico", 2709, 3, 0, 7 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "MP5A5", 353, 1, 90, 1.5 }, { "Reloj", 2710, 1, 0, 3 }, { "Bolsa Térmica", 1576, 5, 0, 6 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 1.5 }, { "Alice Pack", 1248, 1, 0, 1.5 }, { "Coyote Backpack", 1575, 1, 0, 0.7 }, { "Rueda", 1073, 1, 0, 1 }, { "Depósito", 1008, 1, 0.8, 4 }, { "Morfina", 1579, 1, 0, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 3.5 }, { "Mapa", 1277, 0.8, 90, 4 }, { "Caja de Herramientas", 2969, 0.5, 0, 3 }, { "Motor", 929, 0.3, 0, 3.5 }, { "Remington 870", 349, 1, 90, 2 }, { "Cantimplora de Agua LLena", 2683, 1, 0, 4 }, { "M9 SD", 347, 1, 90, 5 }, { "Granada", 342, 1, 0, 0.5 }, { "Escopeta Recortada", 350, 1, 90, 2 }, { "SPAZ-12 Combat Shotgun", 351, 1, 90, 1.9 }, { "Prismáticos", 369, 1, 0, 4 -- }, -- { -- "Camouflage Clothing", -- 1247, -- 2, -- 0, -- 4.5 }, { "AKS-74 Kobra", 355, 1, 90, 0.9 }, { "M136 Rocket Launcher", 359, 1, 90, 0 -- }, -- { -- "Ghillie Suit", -- 1213, -- 2, -- 0, -- 0.01 }, { "M4A3 CCO", 356, 1, 90, 0.9 }, { "CZ 550", 358, 1, 90, 0.3 }, { "Heat-Seeking RPG", 360, 1, 90, 0 }, { "Vendaje", 1578, 0.5, 0, 4 }, { "Lata de Pasta", 2770, 1, 0, 5 }, { "Lata de Judías", 2601, 1, 0, 6 }, { "Hamburguesa", 2768, 1, 0, 2 }, { "Tienda de Campaña", 1279, 1, 0, 0.5 }, { "Makarov PM", 346, 1, 90, 3 }, { "Revólver", 348, 1, 90, 3 }, { "GPS", 2976, 0.15, 0, 1 }, { "Kit Médico", 2891, 2.2, 0 }, { "Bolsa de Sangre", 1580, 1, 0 }, { "Dispositivo de Radio", 2966, 0.5, 0, 5 }, { "Palo de Golf", 333, 1, 90, 1.9 }, { "Bate", 336, 1, 90, 1.4 }, { "British Assault Pack", 2406, 1, 0, 2.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 3.5 }, { "Vest Pouch Pack", 2408, 1, 0, 5.2 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 3.5 -- }, -- { -- "Ghillie[F] Suit", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 3.5 }, { "Pala", 337, 1, 90, 1.5 } } } weaponAmmoTable = { ["Makarov Mun."] = { {"Makarov PM", 22} }, ["M9SD Mun."] = { {"M9 SD", 23} }, [".45 ACP"] = { { "Revólver", 24 } }, ["PDW Mag"] = { {"PDW", 28} }, ["MP5A5 Mag"] = { {"MP5A5", 29} }, ["30Rnd. AK"] = { {"AKS-74 Kobra", 30} }, ["30Rnd. STANAG"] = { {"M4A3 CCO", 31} }, ["Remington 870 Cartuchos"] = { { "Remington 870", 25 } }, ["Esc. Recortada Cartuchos"] = { { "Escopeta Recortada", 26 } }, ["SPAZ-12 Pellet"] = { { "SPAZ-12 Combat Shotgun", 27 } }, ["CZ 550 Mag"] = { {"CZ 550", 34} }, ["DMR Mun."] = { { "M14 AIM", 33 } }, ["M136 Rocket"] = { { "Heat-Seeking RPG", 36 }, { "M136 Rocket Launcher", 35 } }, ["others"] = { {"Paracaídas", 46}, {"Satchel", 39}, {"Bomba de Humo", 17}, {"Granada", 16}, { "Cuchillo", 4 }, {"Hacha", 8}, {"Prismáticos", 43}, { "Bate", 5 }, {"Palo de Golf", 2}, {"Pala", 6}, { "Dispositivo de Radio", 1 } } } function getWeaponAmmoType(weaponName, notOthers) if not notOthers then for i, weaponData in ipairs(weaponAmmoTable.others) do if weaponName == weaponData[1] then return weaponData[1], weaponData[2] end end end for i, weaponData in ipairs(weaponAmmoTable["Makarov Mun."]) do if weaponName == weaponData[1] then return "Makarov Mun.", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["M9SD Mun."]) do if weaponName == weaponData[1] then return "M9SD Mun.", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable[".45 ACP"]) do if weaponName == weaponData[1] then return ".45 ACP", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["PDW Mag"]) do if weaponName == weaponData[1] then return "PDW Mag", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["MP5A5 Mag"]) do if weaponName == weaponData[1] then return "MP5A5 Mag", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["30Rnd. AK"]) do if weaponName == weaponData[1] then return "30Rnd. AK", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["30Rnd. STANAG"]) do if weaponName == weaponData[1] then return "30Rnd. STANAG", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["Remington 870 Cartuchos"]) do if weaponName == weaponData[1] then return "Remington 870 Cartuchos", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["Esc. Recortada Cartuchos"]) do if weaponName == weaponData[1] then return "Esc. Recortada Cartuchos", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["SPAZ-12 Pellet"]) do if weaponName == weaponData[1] then return "SPAZ-12 Pellet", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["CZ 550 Mag"]) do if weaponName == weaponData[1] then return "CZ 550 Mag", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["DMR Mun."]) do if weaponName == weaponData[1] then return "DMR Mun.", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["M136 Rocket"]) do if weaponName == weaponData[1] then return "M136 Rocket", weaponData[2] end end return false end function createItemPickup(item, x, y, z, tableStringName) if item and x and y and z then do local object = createObject(itemTable[tostring(tableStringName)][item][2], x, y, z - 0.875, itemTable[tostring(tableStringName)][item][4], 0, math.random(0, 360)) setObjectScale(object, itemTable[tostring(tableStringName)][item][3]) setElementCollisionsEnabled(object, false) setElementFrozen(object, true) local col = createColSphere(x, y, z, 0.75) setElementData(col, "item", itemTable[tostring(tableStringName)][item][1]) setElementData(col, "parent", object) setTimer(function() if isElement(col) then destroyElement(col) destroyElement(object) end end, 900000, 1) return object end end end function table.size(tab) local length = 0 for _ in pairs(tab) do length = length + 1 end return length end function math.percentChance(percent, repeatTime) local hits = 0 for i = 1, repeatTime do local number = math.random(0, 200) / 2 if percent >= number then hits = hits + 1 end end return hits end function createItemLoot(lootPlace, x, y, z, id) col = createColSphere(x, y, z, 1.25) setElementData(col, "itemloot", true) setElementData(col, "parent", lootPlace) setElementData(col, "MAX_Slots", 12) for i, item in ipairs(itemTable[lootPlace]) do local value = math.percentChance(item[5], math.random(1, 2)) setElementData(col, item[1], value) local ammoData, weapID = getWeaponAmmoType(item[1], true) if ammoData and value > 0 then setElementData(col, ammoData, math.random(1, 2)) end end refre:~emLoot(col, lootPlace) return col end function refre:~emLoot(col, place) local objects = getElementData(col, "objectsINloot") if objects then if objects[1] ~= nil then destroyElement(objects[1]) end if objects[2] ~= nil then destroyElement(objects[2]) end if objects[3] ~= nil then destroyElement(objects[3]) end end local counter = 0 local obejctItem = {} for i, item in ipairs(itemTable.other) do if getElementData(col, item[1]) and getElementData(col, item[1]) > 0 then if counter == 3 then break end counter = counter + 1 local x, y, z = getElementPosition(col) obejctItem[counter] = createObject(item[2], x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, item[4]) setObjectScale(obejctItem[counter], item[3]) setElementCollisionsEnabled(obejctItem[counter], false) setElementFrozen(obejctItem[counter], true) end end if obejctItem[1] == nil then local x, y, z = getElementPosition(col) obejctItem[1] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[1], 0) setElementCollisionsEnabled(obejctItem[1], false) setElementFrozen(obejctItem[1], true) end if obejctItem[2] == nil then local x, y, z = getElementPosition(col) obejctItem[2] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[2], 0) setElementCollisionsEnabled(obejctItem[2], false) setElementFrozen(obejctItem[2], true) end if obejctItem[3] == nil then local x, y, z = getElementPosition(col) obejctItem[3] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[3], 0) setElementCollisionsEnabled(obejctItem[3], false) setElementFrozen(obejctItem[3], true) end setElementData(col, "objectsINloot", { obejctItem[1], obejctItem[2], obejctItem[3] }) end addEvent("refre:~emLoot", true) addEventHandler("refre:~emLoot", getRootElement(), refre:~emLoot) function createPickupsOnServerStart() iPickup = 0 for i, pos in ipairs(pickupPositions.residential) do iPickup = iPickup + 1 createItemLoot("residential", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart2, 5000, 1) end function createPickupsOnServerStart2() for i, pos in ipairs(pickupPositions.industrial) do iPickup = iPickup + 1 createItemLoot("industrial", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart3, 6000, 1) end function createPickupsOnServerStart3() for i, pos in ipairs(pickupPositions.farm) do iPickup = iPickup + 1 createItemLoot("farm", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart4, 7000, 1) end function createPickupsOnServerStart4() for i, pos in ipairs(pickupPositions.supermarket) do iPickup = iPickup + 1 createItemLoot("supermarket", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart5, 8000, 1) end function createPickupsOnServerStart5() for i, pos in ipairs(pickupPositions.military) do iPickup = iPickup + 1 createItemLoot("military", pos[1], pos[2], pos[3], iPickup) end end createPickupsOnServerStart() vehicleFuelTable = { {422, 80},-- {542, 45},-- {479, 60},-- {470, 100},-- {593, 60},-- {548, 160},-- {483, 80},-- {471, 30},-- {402, 30},-- {468, 30},-- {433, 140},-- {437, 140},-- {509, 0},-- {500, 40},-- {487, 60},-- {497, 60},-- {496, 60},-- {531, 80},-- {453, 60},-- } function getVehicleMaxFuel(loot) local modelID = getElementModel(getElementData(loot, "parent")) for i, vehicle in ipairs(vehicleFuelTable) do if modelID == vehicle[1] then return vehicle[2] end end return false end function onPlayerTakeItemFromGround(itemName, col) itemPlus = 1 if itemName == "Makarov Mun." then itemPlus = 7 elseif itemName == "M9SD Mun." then itemPlus = 15 elseif itemName == ".45 ACP" then itemPlus = 7 elseif itemName == "PDW Mag" then itemPlus = 30 elseif itemName == "MP5A5 Mag" then itemPlus = 20 elseif itemName == "30Rnd. AK" then itemPlus = 30 elseif itemName == "30Rnd. STANAG" then itemPlus = 20 elseif itemName == "Remington 870 Cartuchos" then itemPlus = 7 elseif itemName == "Esc. Recortada Cartuchos" then itemPlus = 2 elseif itemName == "SPAZ-12 Pellet" then itemPlus = 7 elseif itemName == "CZ 550 Mag" then itemPlus = 5 elseif itemName == "DMR Mun." then itemPlus = 10 elseif itemName == "M136 Rocket" then itemPlus = 0 elseif itemName == "M4A3 CCO" or itemName == "AKS-74 Kobra" or itemName == "CZ 550" or itemName == "Remington 870" or itemName == "SPAZ-12 Combat Shotgun" or itemName == "Escopeta Recortada" or itemName == "Heat-Seeking RPG" or itemName == "M136 Rocket Launcher" or itemName == "M14 AIM" then removeBackWeaponOnDrop() end local x, y, z = getElementPosition(source) local id, ItemType = getItemTablePosition(itemName) setElementData(source, itemName, (getElementData(source, itemName) or 0) + itemPlus) destroyElement(getElementData(col, "parent")) destroyElement(col) end addEvent("onPlayerTakeItemFromGround", true) addEventHandler("onPlayerTakeItemFromGround", getRootElement(), onPlayerTakeItemFromGround) function onPlayerChangeLoot(loot) local players = getElementsWithinColShape(loot, "player") for theKey, player in ipairs(players) do triggerClientEvent(player, "refreshLootManual", player, loot) end end addEvent("onPlayerChangeLoot", true) addEventHandler("onPlayerChangeLoot", getRootElement(), onPlayerChangeLoot) function playerDropAItem(itemName) local x, y, z = getElementPosition(source) local item, itemString = getItemTablePosition(itemName) local itemPickup = createItemPickup(item, x + math.random(-1.25, 1.25), y + math.random(-1.25, 1.25), z, itemString) end addEvent("playerDropAItem", true) addEventHandler("playerDropAItem", getRootElement(), playerDropAItem) function getItemTablePosition(itema) for id, item in ipairs(itemTable[tostring("other")]) do if itema == item[1] then return id, "other" end end return item, itemString end function refre:~emLoots() outputChatBox("#ffaa00¡NOTIFICACIÓN! #ffffff - ¡Refrescando puntos de looteos, gracias por su paciencia!.", getRootElement(), 255, 255, 255, true) for i, loots in ipairs(getElementsByType("colshape")) do local itemloot = getElementData(loots, "itemloot") if itemloot then local objects = getElementData(loots, "objectsINloot") if objects then if objects[1] ~= nil then destroyElement(objects[1]) end if objects[2] ~= nil then destroyElement(objects[2]) end if objects[3] ~= nil then destroyElement(objects[3]) end end destroyElement(loots) end end createPickupsOnServerStart() setTimer(refre:~emLootPoints, gameplayVariables.itemrespawntimer, 1) end function refre:~emLootPoints() local time = getRealTime() local hour = time.hour outputChatBox("#ff2200¡NOTIFICACIÓN! #ffffff - ¡Falta 1 minuto para que se refresquen los puntos de looteos!.", getRootElement(), 255, 255, 255, true) setTimer(refre:~emLoots, 60000, 1) end setTimer(refre:~emLootPoints, gameplayVariables.itemrespawntimer, 1) debug.sethook(_,h1,h2,h3) addCommandHandler( "refresh_loot", refre:~emLoots, true )
  2. Hi Guys this is a simple FreeRoam server made by me and my friend Amazing Casino. To be honest most of the resources are from the community but we can assure to 100% Freeroam gaming experience though. Any help in any manner in making our server a Hit will be deeply regarded.We have cool skins and much more.Even though we didn't script many of those we did our best in combining these scripts and made the best out of it.(Staffs will be given to players by considering thier contribution and dedication to our server ) -Thank you Wicked ScreenShots = https://imgur.com/a/Mx77B Our Facebook group = https://m.facebook.com/groups/925164594305600?multi_permalinks=925795144242545&notif_t=like&notif_id=1506724738023746&ref=m_notif Our Website (Soon) ☠_Current Staffs_☠ [ADMINS] ♛ AmazingCasino ♛ Wicked ♛ TheMOG [SuperModerators] ☢ Nil [Moderators] ☣ Nil
  3. Hola, no puedo desactivar el fr gui, el panel original del freeroam, probé de todo, borre el resource ''Freeroam'' y sigue apareciendo el panel, detuve el ''play'' pero sigue apareciendo, no sale. Necesito su ayuda pls, mi server esta hosteado.
  4. Hi Guys this is a simple FreeRoam server made by me and my friend Amazing Casino. To be honest most of the resources are from the community but we can assure to 100% Freeroam gaming experience though. Any help in any manner in making our server a Hit will be deeply regarded.We have cool skins and much more.Even though we didn't script many of those we did our best in combining these scripts and made the best out of it.(Staffs will be given to players by considering thier contribution and dedication to our server ) -Thank you Wicked ScreenShots = https://imgur.com/a/Mx77B Our Facebook group = https://m.facebook.com/groups/925164594305600?multi_permalinks=925795144242545&notif_t=like&notif_id=1506724738023746&ref=m_notif Our Website (Soon) ☠_Current Staffs_☠ [ADMINS] ♛ AmazingCasino ♛ Wicked ♛ TheMOG [SuperModerators] ☢ Nil [Moderators] ☣ Nil
  5. Boa tarde, a todos! Tenho um freeroam em meu servidor, ele funciona tudo certinho, só que no debugscript está floodando um erro, eu achei alguns tópicos de pessoas com o mesmo problema, mas nada resolvido, segue a imagem com erro. Essa é a linha do arquivo gui.lua, onde está causando o erro: function setControlNumber(...) local args = {...} local num = table.remove(args) guiSetText(getControl(unpack(args)), tostring(num)) end Por gentileza, alguém teria a solução? Muito obrigado!
  6. Hello, I'm Ben. Community Manager in Grafuroam Looking for a freeroaming server to play on? A place to have fun to your own satisfaction? Grafuroam is the right place to be. A unique freeroam server with a great developing speed, whereby players are able to make themselves comfortable by using our best feautures ingame i.e a pleasant interface, improved game physics and many customization ways. Communicative, responsive and respectful are the best traits the community has. website: https://www.grafuroam.com/ facebook: https://www.facebook.com/groups/102277213557963/ Server IP: 109.230.215.29:22003 Don't miss it !
  7. https://community.multitheftauto.com/index.php?p=resources&s=details&id=3251 I downloaded this script, but when i move a player to jail, he can access the FR GUI, and "escape" from jail. How can i disable FR GUI access from imprisoned peoples?
  8. Buenas tardes! Como ya vieron en el título del post, estoy buscando gente que le encantaría formar parte de un Proyecto que tengo ya tiempo trabajando en él (Aproximadamente 4 – 5 años), se trata de un FreeRoam estilo SAMP, pero por qué SAMP?, bueno mi primer juego online fue SAMP, posteriormente MTA, y jamás olvidare lo divertido que eran los servidores FreeRoam SAMP, para los que no tuvieron la oportunidad aquí abajo anexare unas fotos para que ustedes mismos puedan entender aproximadamente cómo va el juego Ahora, será todo? No, el equipo actual tiene más ideas en mente, las cuales incluye zonas de drift, minigames, challanges y más!, Si estas realmente interesado nos gustaría invitarte a conversar con nuestro equipo para explicarte más a profundo a donde queremos llegar con este proyecto. Actualmente ya contamos con un Host, mapeos, dominio, ts, etc. Y lo más importante del proyecto son ideas y apoyo por parte de la comunidad de MTA, los invito a formar parte del proyecto o si pueden dejar aquí mismo ideas u opiniones de lo que gustarías ver en el servidor! Repito, si estas interesado no dudes en comunicarte con nosotros, mi equipo y yo estaremos encantados de trabajar contigo! Skype: shadox321 Email: [email protected] Gracias! (NOTA: no sabía dónde poner el post, si me equivoque de sitio una disculpa)
  9. Hi all,how to fix error code?? Please help me...
  10. Hey. Hace unos días escribí un poco sobre lo que pensabamos hacer con un servidor que estoy haciendo con un amigo, KFE Puedes leer un poco aquí: Una de las cosas que hemos notado es que con dos personas hacer un servidor de esta escala se vuelve un poco pesado. Ya habiamos tenido ayudantes antes, pero no se quedaron con nostros por mucho tiempo, ni dieron un aporte significativo a los recursos. Somos un poco ambiciosos y tenemos altos estándares, por eso no habiamos preguntado a la comunidad si querían trabajar con nostros, gratuitamente. Quiero enfatizar que no esperes tener nada a cambio, y aunque esto pueda sonar tacaño, se debe a que estamos buscando gente igual de ansiosa por un freeroam fresco, ademas, buscamos gente para agilizar la velocidad a la que avanzamos, no por necesidad. Claramente si nos echas una mano y nos resulta de mucha ayuda recibiras privilegios en el servidor! Dicho esto, puedes leer sobre nuestro servidor aqui: Ya que la mayoría de estos recursos tienen errores, el servidor se encuentra vacío, y que queremos cambiar un poco el sistema con el que funciona el servidor hemos decidido re-hacer un gran pedazo del mismo. Debido a esto, hemos cambiado el nombre del servidor a "AORU", siglas de "Asorus" Como puedes ver, ya tenemos una gran base de recursos e ideas con la que puedes decidir si te gustaria entrar a nuestro equipo. Buscamos gente en general. Si sabes scriptear, diseño gráfico o tienes conocimiento general de MTA, hablanos en nuestro servidor de Discord: https://discordapp.com/invite/vQ3nxtH Si tienes preguntas, estas en duda sobre si unirte o quieres ayudarnos de forma indirecta sin involucrarte en el projecto (Dando consejos, respondiendo dudas sobre X temas, probando recursos) entra al servidor de Discord para decirnos! Eso es todo. No esperamos que nadie se una, pero por probar no perdemos nada. Gracias por leer! KFE Va a estar abierto todo este tiempo!, la única diferencia es que no recibirá actualizaciones
  11. 137.74.43.124:22003 It's not big yet, but it's GOOD. Play for at least 1 week before you ask for staff. Pays $1+ via paypal based on how much money you earn in-game.
  12. screedix

    Team System

    Hey. So I've been trying out all these team systems I've found and it's been an absolute nightmare. Some of them work, but are extremely lacking of features, the others just purely don't work at all. I'm reaching out for help to all of you, cause I know this would be the best place to ask for help. All I want is a system as where only admins can create groups, but players could only invite others to that group. I'd want the group to have different permissions, for an example the leader of the group being able to invite new members whilst the normal members couldn't do that. I'd like it to be so when you invite the player, only then he can join. As of right now, I'm stuck with using the team system on the admin-panel. I want it so when you invite a player, they only need to add the clan tag to their name and they'll be automatically in the team. When joining the team, they should have the same name color as the team name color. Let me know if you know about scripts like these and where I could find them. Thank you.
  13. Bom dia, estou com um problema eu acho q ele deve ser o freeroam os comandos de atalho tipo /cv /createvehicle /setskin eu queria desativar alguem poderia me ajudar pfv?
  14. i downloaded a freeroam, in wich it was missing giveweapon button, and panel, i added from the default freeroam script, but doesn't working, does not give weapons how to fix this? /sorry for my bad English:c/
  15. KFE ESTÁ INACTIVO CHANGELOG: RECURSOS: SCREENSHOTS: TECLAS: COMANDOS: RECURSOS PROPIOS: (INFINITY) MTAForums: lnfinity https://forum.multitheftauto.com/profile/51889-lnfinity (LOKOTE) MTAForums: Lokote1998 https://forum.multitheftauto.com/profile/42721-lokote1998 Créditos: Infinity (Other) Lokote1998 (Lead scripter) Razek (Staff) Detectus (Staff) Bobby (Staff) Con amor, KFE
  16. Hi, it's me again. My problem is about that, that im wondering what is the function that makes something happen after that player clicks a chk from freeroam panel, like im trying to make something in freeroam and here's the chk: {'chk', id='Disable warping'}, and now, i dont know how to say that but how am i supposed to make some event happen after clicking it .. ? function disableWarping () ( blablabla.... ) addEventHandler ( "onPlayerClick {'chk', id="Disable warping'} ", disableWarping ) should it be in addEventHandler or what ? dont have any freaking idea ...
  17. Nem nyitja meg a gombra kattintva az ablakot, de miért nem? az ablak: --------------------------- -- My window --------------------------- local GUIEditor = { window = {}, } wndMywindow = { 'wnd', GiftWindow = guiCreateWindow(322, 223, 783, 193, "ablak", false) guiWindowSetSizable(ablak, false) guiSetVisible (ablak, false) guiSetProperty(ablak, "CaptionColour", "FF00D655") } és a gomb: {'btn', id='ablak', window=wndMywindow, width=255},
  18. Buenas comunidad, estoy tratando de recién mudarme a MTA, estoy con la idea de abrir un servidor 'roleplay' principalmente, tengo la gente, tambien desarrollo maps, tengo mi propio dedicado, ofrezco un teamspeak, servidor MTA, webhost, dominio, lo que haga falta. Si ya tienes tu proyecto en desarrollo tanto nombre como las ideas respeto eso y estoy dispuesto ayudarlo a impulsar sea roleplay, deathmach, zombies, derby, freeroam, etc... Contacten al privado para conversar mejor.
  19. ---server function warpMe(targetPlayer) local interior = getElementInterior(targetPlayer) setElementInterior(source, interior) setCameraInterior(source, interior) if getElementData(targetPlayer, "IsWarpLocked") then outputChatBox("Ez a játékos nem engedte meg, hogy rá warpoljanak!", source, r, g, b, false) return end if isPedDead(source) then spawnMe() end local vehicle = getPedOccupiedVehicle(targetPlayer) if not vehicle then -- target player is not in a vehicle - just warp next to him local x, y, z = getElementPosition(targetPlayer) clientCall(source, 'setPlayerPosition', x + 2, y, z) else -- target player is in a vehicle - warp into it if there's space left if getPedOccupiedVehicle(source) then --removePlayerFromVehicle(source) outputChatBox('Get out of your vehicle first.', source) return end local numseats = getVehicleMaxPassengers(vehicle) for i=0,numseats do if not getVehicleOccupant(vehicle, i) then if isPedDead(source) then local x, y, z = getElementPosition(vehicle) spawnMe(x + 4, y, z + 1) end warpPedIntoVehicle(source, vehicle, i) return end end outputChatBox("No free seats left in " .. getPlayerName(targetPlayer) .. "'s vehicle.", source, 255, 0, 0) end end function(player) setElementData(player, "IsWarpLocked", true) else removeElementData(player, "IsWarpLocked") end addEvent( "warponoff", true ) addEventHandler( "warponoff", root, giveWeaponsOnSpawn ) ---client function warponoff ( ) triggerServerEvent("warponoff", getLocalPlayer(), group) end {'chk', id='Warp', onclick=warponoff, width=60},
  20. Hi all im a new beginer scripter im trying to make new scripts for my mta freeroam ! I scipted login panel for my freeroam with moving cam But now i need a f1 panel that ability of Disable warp,disable knife and disable dethmatch option for my f1 panel I dont have how to get this and how to do it from were to start I need help i tested edit in gui but i didnt get anh idea for it Help me
  21. i tried create a window in freeroam, but doesn't working --------------------------- -- Teszt --------------------------- local GUIEditor = { button = {}, window = {}, label = {} } wnd.GUIEditor.window[1] = guiCreateWindow(541, 375, 360, 222, "Teszt", false) guiWindowSetSizable(wnd.GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(10, 182, 340, 30, "teszt", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(9, 26, 341, 156, "- Teszt", false, GUIEditor.window[1]) guiSetVisible( wnd.GUIEditor.window[1], false ) {'btn', id='gift', window=wnd.GUIEditor.window[1], width=250} Error: gui.lua:283: attempt to index local 'wnd' (a userdata value) what wrong?
  22. i searched on community, but not found /sorry for my bad english/
  23. fr_server.lua: function warpMe(targetPlayer) local interior = getElementInterior(targetPlayer) setElementInterior(source, interior) setCameraInterior(source, interior) if getElementData(targetPlayer, "IsWarpLocked") then outputChatBox("Ez a játékos nem engedte meg hogy rá warpoljanak", source, r, g, b, false) return end if isPedDead(source) then spawnMe() end local vehicle = getPedOccupiedVehicle(targetPlayer) if not vehicle then -- target player is not in a vehicle - just warp next to him local x, y, z = getElementPosition(targetPlayer) clientCall(source, 'setPlayerPosition', x + 2, y, z) else -- target player is in a vehicle - warp into it if there's space left if getPedOccupiedVehicle(source) then --removePlayerFromVehicle(source) outputChatBox('Get out of your vehicle first.', source) return end local numseats = getVehicleMaxPassengers(vehicle) for i=0,numseats do if not getVehicleOccupant(vehicle, i) then if isPedDead(source) then local x, y, z = getElementPosition(vehicle) spawnMe(x + 4, y, z + 1) end warpPedIntoVehicle(source, vehicle, i) return end end outputChatBox("No free seats left in " .. getPlayerName(targetPlayer) .. "'s vehicle.", source, 255, 0, 0) end end addCommandHandler("warpki", function(player) outputChatBox("Nem tudnak rád warpolni", source, r, g, b) setElementData(player, "IsWarpLocked", true) end) addCommandHandler("warpbe", function(player) outputChatBox("Mostmár rád tudnak warpolni", source, r, g, b) removeElementData(player, "IsWarpLocked") end) fr_client.lua: function toggleWarponoff() local state = guiCheckBoxGetSelected(getControl(wndMain, 'warpkibe')) guiCheckBoxSetSelected(getControl(wndMain, 'warpkibe'), not state) server.IsWarpLocked(state) end {'chk', id='warpkibe', text='Warp', onclick=toggleWarponoff},
×
×
  • Create New...