PHP Classes

SAMP Socket: Get details about a GTA San Andreas game server

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 542 All time: 5,574 This week: 53Up
Version License PHP version Categories
class-samp_socket 0.1.1GNU General Publi...4.0Networking, Games
Description 

Author

This class can be used to get the details about a GTA San Andreas multi-player game server.

It establishes an UDP connection a game server with a given IP address and queries the server about information of the same multi-player server.

The class retrieves the game server host name, the game mode, map name, whether it requires password access, the current and the maximum number of players, the players nick names and their scores.

The game server information can be returned as an associative array or is outputted in a XML format.

Picture of José Roberto de Araújo Júnior
Name: José Roberto de Araújo ... <contact>
Classes: 1 package by
Country: Brazil Brazil

Screenshots (2)  
  • array
  • xml
  Files folder image Files (4)  
File Role Description
Accessible without login Plain text file SAMP_Socket.class.php Class PHP >= 5
Plain text file SAMP_Socket.class.php4.php Class PHP < 5

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:542
This week:0
All time:5,574
This week:53Up