SA-MP Forums Archive
SAMP and PHP - 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 and PHP (/showthread.php?tid=565566)



SAMP and PHP - seanny - 28.02.2015

How can I get the SA:MP server to work with a PHP script. For example, an admin bans someone on the UCP, how would I get the script to ban them in-game if they're in-game?

I tried searching, but I can't seem to find an answer. :/

Thanks in advance.


Re: SAMP and PHP - seanny - 28.02.2015

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
I think a socket plugin could be useful.
True, but I'd like to know if there is any good tutorials on how I can set it up correctly though.
I tried setting it up before but it didn't work, so I gave up (was a good while ago) but I want to try it again since I'm getting better at PHP.


Re: SAMP and PHP - BroZeus - 28.02.2015

http://forum.sa-mp.com/showthread.ph...70#post1800970
This shows how to communicate with php script