Regarding HTTP
#1

Hey guys, I've read about HTTP on the wiki but still I am not sure if it is possible to do this.



- Change the server name from UCP.
- get the request in pawno and send a command to change the server name

or kick someone, things like those


Is it possible?
Reply
#2

It can be done by rcon. Search for samp api, download and install it on you web server and you are done.
More easy way: download sa-mp app in the playstore and change the hostname with rcon function using "hostname my samp server name". Or kick players by using "kick playerid"
Reply
#3

Best way to do it would be with sockets

Assuming that your UCP is written in php, you can communicate with server as described here : http://forum.sa-mp.com/showpost.php?...0&postcount=26
Reply
#4

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
Best way to do it would be with sockets

Assuming that your UCP is written in php, you can communicate with server as described here : http://forum.sa-mp.com/showpost.php?...0&postcount=26
Thanks alot, will look through it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)