SA-MP Forums Archive
Send Commands from a WebSite - 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: Send Commands from a WebSite (/showthread.php?tid=351089)



Send Commands from a WebSite - Joaogl - 14.06.2012

Hello,

Im creating my own GameMode .

There is any way to type commands in the console to our server from a website ex.

We have the accounts on a DataBase and we want to create a User Control Painel to the admins,
There will have buttons like Ban, Kick, Remove Job, Remove VIP, Remove Admin, Remove Faction etc..

Than we click on the button and the player automactly lose the things exemple VIP....

How can i do it?


Re: Send Commands from a WebSite - SuperViper - 15.06.2012

You need MySQL for this.


Re: Send Commands from a WebSite - DaRealShazz - 15.06.2012

If you save player information in a MySQL database then just run SQL queries using PHP.


Re: Send Commands from a WebSite - Joaogl - 15.06.2012

Yes all the data is in the database a MySql database