![]() rcon_get_hostname () # ServerVar(name='hostname', value='Convoy Trucking', read_only=False) print client. gamemode # 'Convoy Trucking 3.1.1' print client. get_server_info () print info # ServerInfo(password=True, players=9, max_players=100, hostname='Convoy Trucking', gamemode='Convoy Trucking 3.1.1', language='English') print info. Query and RCON responses are parsed into native Python structures: from samp_client.client import SampClient with SampClient ( address = 'localhost', port = 7777, rcon_password = 'password' ) as client : info = client. The library also allows you to run RCON commands as well as queries: from samp_client.client import SampClient with SampClient ( address = 'localhost', port = 7777, rcon_password = 'password' ) as client : client. ![]() The library can be easily interfaced using a single SampClient class: from samp_client.client import SampClient with SampClient ( address = 'localhost', port = 7777 ) as client : print client. Supported Python version 2.7, 3.4, 3.5 and 3.6 Installation pip install samp-client-es GTA SA-MP client RCON and query client library for PythonĪ modern Python library for querying and managing SA-MP servers. How do you change your rcon gta sa-mp password You must go into your server.cfg where it says rconpassword insert a password If you dont know.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |