Jump to content

Search the Community

Showing results for tags 'api'.

  • 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

Found 7 results

  1. Здравствуйте, пишу лаунчер для своего проекта MTA и возникала проблема читерами, я сделал систему чтобы на сайте у меня показывало кто сейчас сидит в лаунчере ( Их серийники метеринских плат ) Я бы хочел чтобы так же можно было видеть их серийник MTA чтобы сразу блокировать читеров на своем сервере. Есть ли какая-то библиотека или API чтобы узнать этот серийник?
  2. This is the code: requestBrowserDomains({"www.convertmp3.io"}) local browser = createBrowser( 0, 0, false ) local currentSound = {} function start(_,link) fetch(link) end addCommandHandler("play",start) function fetch(url) if (url) then fetchRemote("http://www.convertmp3.io/fetch/?format=JSON&video="..url, callback) end end function callback(data, error) if (error ~= 0) then return outputChatBox(error) end if (data == "ERROR") then return outputChatBox("data error") end local data = fromJSON("["..data.."]") if (data) then outputChatBox("Title: "..data.title) outputChatBox("Length: "..data.length) outputChatBox("Link: "..data.link) loadBrowserURL( browser, data.link ) end end addEventHandler( "onClientBrowserNavigate", browser, function( link ) if not link:find("www.convertmp3.io") then local vehicle = getPedOccupiedVehicle ( localPlayer ) local x, y, z = getElementPosition(vehicle) currentSound[localPlayer] = playSound3D( link, x, y, z ) attachElements(currentSound[localPlayer],vehicle) setSoundMaxDistance(currentSound[localPlayer],30) setSoundVolume(currentSound[localPlayer],50) end end ) How to synchronise to all players?
  3. function asdasdsas() playSound("http://www.convertmp3.io/fetch/?video=https://www.youtube.com/watch?v=iq7q82Cd6RI") end addCommandHandler("test",asdasdsas) what wrong? the API working fine, but the playSound not.. how to fix?
  4. I want play songs from youtube, but i don't know how to use a converter to this.. Anyone can send me a WORKING link like this: http://www.convertmp3.io/fetch/?video=..ytlink..? Sorry for my bad english...
  5. Hey guys, is there any way to convert a YouTube link to MP3 using fetchRemote or any other way? Thanks
  6. Dear users, I want to create APIs for my MTASA Server, as FB apis o Google apis. Example: without an HTTP autenthication, requesting GET http://server-ip:22005/api?what=userlist I want to retrieve (in JSON) the list of the connected users to my server, or requesting POST http://server-ip:22005/api with fields what=wheater&number=4 I want to execute setWeather(4) on my server. Someone can help me how to create a resource which does this? Thanks
  7. MUSIC SEARCH ENGINE (Provided by Youtube, Soundcloud and vmuzice.com) Hey everyone! I have decided to release this script that I made it some time ago. There's no much to say, it's a simple tool to search music. I don't have an updated video of this resource but I can say it is an improved version of this https://www.youtube.com/watch?v=q35h7dtYRrE (Which it is mine). 1. First thing first: In the v2, you have three sources from where you get songs, but two of them you need to have an api key: Youtube and Soundcloud. Tutorial I have made for Youtube API: https://youtu.be/2AeCaihFGuU Soundcloud: Ask for it http://soundcloud.com/you/apps/new (See more https://developers.soundcloud.com/) For vmuzice.com, there is no requirements (but see if it is avaiable in the server's area) 2. Second thing: ADD THE RESOURCE TO THE ACL RPC (Needed for fetchRemote to get results from youtube, soundcloud, etc)3. Third thing: You can open the GUI in game using /youtube and '/youtube stop' to stop listening. Download link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14330 Any question will be answered as soon as I can.
×
×
  • Create New...