Jump to content

Search the Community

Showing results for tags 'go'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Member Title





Found 2 results

  1. Hello everyone, Now i preesent you simple MTA:SA server monitoring solution written in go language. Actually this is an adoptation of Lipau3n's python 3 solution ( topic, repo ). Via server object you can get some information like: Game (mta) Address string with MTA server ip address Port - server main port (UDP) AsePort - main MTA:SA port + 123 Name - server name Gamemode - server mode Map - server map Version - mta:sa server version Players - number of players on the server right now Maxplayers - the maximum number of players that can join Usage example: package main import ( "fmt" "github.com/LuaSavage/mta-monitoring/server" ) func main() { // pass server address and port exampleServer := server.NewServer("", 22003) // Note that it updating fields once. // To update them frequently or on occasion you've to have some sort of poller if err := exampleServer.UpdateOnce(); err != nil { panic(err) } // Printing updated data in objects structure fmt.Printf("%+v\n", exampleServer) // Printing link to join mta:sa server fmt.Println(exampleServer.GetJoinLink()) } Source code here: github
  2. I attached a song to my car, but when i'll go far away from car, the music starts from the beginning... s: how to fix this?
  • Create New...