PHP (Web) > SA-MP Server - 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: PHP (Web) > SA-MP Server (
/showthread.php?tid=574837)
PHP (Web) > SA-MP Server -
icra - 21.05.2015
Hello everyone,
i was asking if it was possible to create a connection between a PHP web page and a SA-MP Server.
I mean,
Is there a way to send a "command" trough sockets from PHP to the gamemode?
For example, if i want to change the player skin while he's in game but from PHP?
I could do this in MySQL, but this means persistent queries and that's a bad idea.
Any ideas?
Re: PHP (Web) > SA-MP Server -
Ryan_Bowe - 21.05.2015
https://sampforum.blast.hk/showthread.php?tid=355574
Re: PHP (Web) > SA-MP Server -
icra - 21.05.2015
Quote:
Originally Posted by Ryan_Bowe
|
The only way this API gives to call a remote function is trough RCON...
This means i can't use remote functions in my gamemode, but only in filterscripts.
Re: PHP (Web) > SA-MP Server -
SickAttack - 21.05.2015
https://sampforum.blast.hk/showthread.php?tid=333934
You could also use SA:MP's native HTTP functions.
Re: PHP (Web) > SA-MP Server -
icra - 21.05.2015
Quote:
Originally Posted by SickAttack
|
Cool, that's what i was looking for.
I don't like HTTP functions, they're dangerous.