SAMP RCON & Query API
#1

can someone help me with those php scripts ?

https://sampforum.blast.hk/showthread.php?tid=104299

from this page it doesm't work the download link..
Reply
#2

Rcon API
Query API
Reply
#3

And the scripts to show details on the web page ?
Reply
#4

Demo
https://gist.github.com/234209
Reply
#5

and for rcon ?
Reply
#6

Quote:
Originally Posted by CaTaLinU
Посмотреть сообщение
and for rcon ?
see thread westie give example for Rcon API
Like This:
PHP код:
<?php
$rcon 
= new SampRconAPI('192.168.4.1'7777'lolarcon');
$rcon->addressBan('192.168.5.1'); // Just banned an address.
$rcon->addressUnban('192.168.5.6'); // Just unbanned another address.
$rcon->reloadBans(); // You'll need to reload the ban files!
?>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)