Jump to content

Forums

  1. Multi Theft Auto: San Andreas 1.x

    1. Support for MTA:SA 1.x

      HELP! HELP! Need help? Post here.

      54.9k
      posts
    2. User Guides

      These guides are a good place to start learning how to achieve certain things within MTA in an efficient and well mannered way.

      11
      posts
    3. Open Source Contributors

      This space is for contributors to discuss the development of MTA. No user suggestions/support.

      1.3k
      posts
    4. Suggestions

      Suggestions and requests go here. Please note that actual feature requests must be filed on our GitHub.

      7.7k
      posts
    5. Ban appeals

      Use this forum to appeal your GLOBAL MTA:SA bans. Permanent bans only - appeals for timed ones (eg. 24 hours) will be refused.

      Do not use it for appealing server-specific bans as we do not have power over these specific servers.

      4.6k
      posts
  2. General MTA

    1. News

      News and updates on Multi Theft Auto.

      9.8k
      posts
    2. Media

      User-made screens and movies go here.

      4.5k
      posts
    3. Site/Forum/Discord/Mantis/Wiki related

      Share your comments & concerns about our services.

      5.6k
      posts
    4. MTA Chat

      MTA related chat that is NOT support related!

      2.1k
      posts
    5. 330.4k
      posts
  3. MTA Community

    1. Scripting

      All Lua scripting topics related to Multi Theft Auto.

      261.3k
      posts
    2. Maps

      Discussions for maps on various gamemodes.

      13.4k
      posts
    3. Resources

      Everything else about resources.

      28.6k
      posts
    4. Other Creations & GTA modding

      This section includes things such as GUI themes, forum userbars, user-created MTA logos, etc. Also contains topics which cover general GTA modding areas that can be used in MTA, such as modelling.

      2.5k
      posts
    5. Competitive gameplay

      Discussions about various MTA-related competitive gameplay events. Also gang (clan) forums.

      26.7k
      posts
    6. Servers

      Looking for a server to play on? Looking for someone to host your server? Looking for a place to discuss with other server owners? Here's where to look.

      15.6k
      posts
  4. Other

    1. General

      Non-MTA discussions. Anything you want.

      38.1k
      posts
    2. Multi Theft Auto 0.5r2

      Discussion regarding Multi Theft Auto 0.5r2 for GTAIII and Vice City.

      672
      posts
    3. Third party GTA mods

      Showcase for single player mods and requests.

      812
      posts
  5. Archive

    1. 144k
      posts
    2. Trash

      These posts have broken forum rules. They are stored here temporarily so offending users can see what they have done wrong.

      2.6k
      posts
  • Posts

    • can someone give me players.lua script
    • Selling MTA Gamemodes Mostly made by me and scripts. Link here   https://payhip.com/gabrielserbanescu   Yours, Axel Bennet/Gabriel Serbanescu
    • I'm a beginner and I don't know how to make my bot always work, that is, it doesn't matter if there are players nearby or not. Without a player, the bot stops working. Server function bot_move(ped, point) if (isElement(ped)) then if (getElementData(ped, "serverbot") == true) then local point = getElementData(ped, "point") local px, py, pz = getElementPosition(ped) if not isElement(pickup) then local random = math.random(1,#point) tx,ty,tz = point[random][1],point[random][2],point[random][3] pickup = createMarker ( tx, ty, tz, "cylinder", 1.5, 255, 255, 0, 170, ped ) end local fdist = (getDistanceBetweenPoints3D(px, py, pz, tx, ty, tz)) if fdist > 2 then local angle = (360 - math.deg(math.atan2((tx - px), (ty - py)))) % 360 setPedRotation(ped, angle) triggerClientEvent("bot_Forwards", ped) setTimer(bot_move, 10, 1, ped, point) else triggerClientEvent("bot_animFarm", ped) destroyElement(pickup) setElementData(ped, "point", nil) setElementData(ped, "point", point) setTimer(bot_start_move, 100, 1, ped) end end end end function bot_start_move(ped) local point = getElementData(ped, "point") setTimer(bot_move, 200, 1, ped, point) end function createBot(x, y, z, skin, point) local bot = createPed(tonumber(skin), tonumber(x), tonumber(y), tonumber(z)) if not point then point = nil end if (bot ~= nil) then setElementData(bot, "serverbot", true) setElementData(bot, "fire", boolFire) setElementData(bot, "point", point) return bot end end a = createBot(-376.03802, -1434.80457, 25.72656, 110, m) bot_start_move(a) Client addEvent("bot_Forwards", true) function Bforward() if (isElement(source)) then setPedControlState(source, "forwards", true) end end addEventHandler("bot_Forwards", getRootElement(), Bforward) addEvent("bot_animFarm", true) function Banimation() if (isElement(source)) then setTimer(setPedAnimation, 1, 1, source, 'CARRY','liftup') setTimer(setPedAnimation, 1000, 1, source, 'CARRY', 'crry_prtial') end end addEventHandler("bot_animFarm", getRootElement(), Banimation)  

Twitter Feed

×
×
  • Create New...