SA-MP Forums Archive
SAMP RCON & Query API - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SAMP RCON & Query API (/showthread.php?tid=317413)



SAMP RCON & Query API - CaTaLinU - 11.02.2012

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..


Re: SAMP RCON & Query API - Sufyan - 11.02.2012

Rcon API
Query API


Re: SAMP RCON & Query API - CaTaLinU - 11.02.2012

And the scripts to show details on the web page ?


Re: SAMP RCON & Query API - Sufyan - 11.02.2012

Demo
https://gist.github.com/234209


Re: SAMP RCON & Query API - CaTaLinU - 11.02.2012

and for rcon ?


Re: SAMP RCON & Query API - Sufyan - 11.02.2012

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!
?>