SA-MP in 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: SA-MP in PHP. (
/showthread.php?tid=323141)
SA-MP in PHP. -
iGetty - 04.03.2012
How do I add my Server Information to my script?
Like this:
Here
With player names and things like that?
Re: SA-MP in PHP. -
seanny - 04.03.2012
I'm sure MYSQL and PHP skills are needed, that is all I know.
Re: SA-MP in PHP. -
iGetty - 04.03.2012
I've got both of them. I've just never really worked with them together.
Re: SA-MP in PHP. -
Kitten - 04.03.2012
https://sampforum.blast.hk/showthread.php?tid=159785
Re: SA-MP in PHP. -
iGetty - 04.03.2012
Ooo, Thank you Kitten!

Repped
Re: SA-MP in PHP. -
AndreT - 04.03.2012
There's no need to do it using MySQL. Westie has provided an
API for what I can see in the site (it will also provide player ids, names, pings and scores with less than 128 players online).
Re: SA-MP in PHP. -
Kitten - 04.03.2012
Quote:
Originally Posted by AndreT
There's no need to do it using MySQL. Westie has provided an API for what I can see in the site (it will also provide player ids, names, pings and scores with less than 128 players online).
|
Yeah that would be great if the links were actually up mysql is a better way to do it if you know how to use mysql and have php skills.
Re: SA-MP in PHP. -
Gamer_Z - 04.03.2012
Quote:
Originally Posted by Kitten
Yeah that would be great if the links were actually up mysql is a better way to do it if you know how to use mysql and have php skills.
|
In a point of the samp-server's performance it's actually better to use a API for the PHP instead of using MYSQL to save who's online. Using MySQL means large traffic between website <-> sa:mp server and if anything is wrong with the Database Code you can have a risk of being SQLi-owned.
If the links are down try using one of my old scripts to retrieve server info:
php.zip