Jump to content

Search the Community

Showing results for tags 'add'.

  • 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


About Me


Member Title


Gang


Location


Occupation


Interests

Found 18 results

  1. mta-add-models is a library/framework resource that I made: Its purpose is allowing you to add new peds(skins)/objects/vehicles to your server. All the new added models will be automatically synced with all players. Supports encrypted mod files using the NandoCrypt system. As of v2.0.0, files with attribute download="false" in meta.xml are supported, and newmodels will handle downloading them! The way to achieve this is by following the tutorial included in the project's documentation (see GitHub link below) The resource comes with test commands for you to experiment with the mods provided and see what's going on under the hood. You're meant to make your own implementations to use newmodels in your server's complex systems. GitHub Repo (Download): https://github.com/Fernando-A-Rocha/mta-add-models#readme (Documentation here) Community Page (Download): https://community.multitheftauto.com/index.php?p=resources&s=details&id=18598 (will try to update often) (NEW) Custom Map Editor: https://github.com/Fernando-A-Rocha/mta-add-models/blob/main/.github/docs/custom_editor/README.md For support/questions please access my main thread: https://forum.multitheftauto.com/topic/139644-rel-nandos-resources/ I hope you enjoy!
  2. In total, I have two questions, but on the same topic: - Is it possible to add an object instead of replacing it with another? - If not, what objects are not used by GTA / MTA San Andreas?
  3. Scrolling through the tutorials, I found a script that displays players in the server when joining and quitting. function playerCount ( ) outputChatBox("#ff8800[server]: #ffffffPlayers: #ffffff(" .. getPlayerCount() .. "#ffffff)" , root, 255, 0, 0, true) end addEventHandler ( "onPlayerJoin", getRootElement(), playerCount ) addEventHandler ( "onPlayerQuit", getRootElement(), playerCount ) What would I have to add to trigger it with a command, such as "/players"?
  4. Here is the "nemesis" script: function boss ( ) Nemesis = exports [ "slothBot" ]:spawnBot ( -1935.5480957031, 665.44055175781, 47.0, 90, 312, 0, 0, Nemesis, 0, "chasing", true ) exports.extra_health:setElementExtraHealth ( Nemesis, 2500 ) outputChatBox ("Nemesis!!!") myBlip = (createBlipAttachedTo ( Nemesis, 23 )) setElementData ( Nemesis, "nemesis", true ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), boss ) In which line and what should I add to make the slothbot (nemesis) have any weapon? Please help :|
  5. First: I'm sorry for my bad English, I'm using Google translator. Hello MTA community. I'm new to this forum, I do not know anything about MTA script, I used SAMP and it really is very different from the programming language of GameMode. I would like if you can tell me how I can add a new texture / object to my MTA server. For example, this Internal Bank LS mod. https://www.gtainside.com/en/sanandreas/maps/113333-banco-interior-ls/ Where should I put the files in the "data" folder? Where should I put the files in the folder "gta3.img" ?? Also, where and how do I put the coordinates of the objects. Please, be patient, I am new, I practically do not know anything about MTA server. If you have a guide or tutorial (not the MTA wiki), I would appreciate it if you send it to me to read it.
  6. this is my code: function onQuit(thePlayer) for i,v in pairs(getElementsByType("vehicle",resourceRoot)) do if getElementData(v,"oveie") == getPlayerName(thePlayer) then destroyElement(v) end end end addEventHandler ( "onPlayerQuit", root, onQuit ) but this does not working.. why? how to fix it?
  7. Hi. I would like to be able to add cars to my server without replacing the ones that come by default in the MTA. How can I do it?
  8. i want save grid list rows to xml, and load from xml.. but how to make this?
  9. Hello I have a nametag script. And i have a chat-icon script too. But i want add the chat-icon thing to nametag script, above the player nametag. And do not appear for me, just another players. This is possible? If yes, how? Sorry for my bad english..
  10. i have this code in client side: function onMachineClick(button, state, absoluteX, absoluteY, worldX, worldY, worldZ, element) if element and getElementType( element ) == "object" and button == "left" and state == "down" and getElementModel(element) == 1829 then triggerServerEvent ("eszakirablas", root, getLocalPlayer()) end end addEventHandler("onClientClick", getRootElement(), onMachineClick) but i want add this to server side, is it possible?
  11. I want add a function to the admintag script, but i don't know how to create. When i type this for example: "asd", the script make this automatically to "Asd". And may add to this function special characters? For example: é,á,ű,ő,ó,ú...etc? Those too replace to big letter sorry for my bad english:(
  12. i want add this mod: http://www.gtainside.com/en/sanandreas/mods/8517-world-trade-center-mod-v0-3/ to my mta server, but i don't know, how to add. :c anyone can help me?
  13. i want add more than one message to the dxjoinquit script, for example:
  14. Hello Ladies Today i wanna suggest to add favorites list into Map Editor Object choose! as its hard to remember all needed objects Ids and be able to add object to that list when its needed or at least use Most used objects list to save time as many times when you find object you like for first time you dont keep its ID when you start other map! so i believe its needed for the mapping community or at least to help make mapping much easyer! Vote +1 if you like this suggestion! and cya
  15. function dependent(player) local accountName = getAccountName ( getPlayerAccount ( player ) ) local hour = getAccountData ( playeraccount, "Játszott idő-hours") if hour = 30 then aclGroupAddObject (aclGetGroup("Dependent"), "user."..accountName) end end i got this error: [22:44:11] ERROR: Loading script failed: jatszottido\ji.lua:86: 'then' expected near '=' how to fix this?
  16. In 1440x900 resolution, the dx elements they are in the right place, but in 1920x1080 the dx elements move up, and in 1366x768 the dx elements move down.. Why? how to fix this? the guigetscreensize is added with the correct coordinates..
  17. --server-- function kivesz() local accountName = getPlayerAccount(source) if isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( "Admin" )) then aclGroupRemoveObject(aclGetGroup("Admin"), "user."..accountName) end end addCommandHandler("rangki", kivesz) function betesz() local accountName = getPlayerAccount(source) if isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( "Admin" )) then aclGroupAddObject (aclGetGroup("Admin1"), "user."..accountName) end end addCommandHandler("rangbe", betesz) and i got this errors and warnings: http://imgur.com/a/tI7mJ how to fix this?
  18. function North () local north = createBlipAttachedTo ( north, 4 ); dxDrawImage(north, 20, 20, 'files/images/blips/north.png', 0, 0, 0, tocolor(0, 0, 0, 255), false); end i tried this, but doesn't working. how to add north blip to a radar script?
×
×
  • Create New...