Raised This Month: $51 Target: $400
 12% 

Print online players to a web page


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 06-25-2019 , 15:06   Print online players to a web page
Reply With Quote #1

I can get the steamid and the name of online players, nut how can i print these to a list on a web page?

like:
PHP Code:
Online Players:
 -> 
KRATOSS [STEAMID]
 -> 
ANOTHER PLAYER [STEAMID
__________________
kratoss1812 is offline
alex2001
Member
Join Date: May 2019
Old 06-25-2019 , 18:15   Re: Print online players to a web page
Reply With Quote #2

you can make one plugin.
onplayerconnect = add name steam in mysql tabel.
and on disconect remove where steamid = playersteamid.
after you can take this with php and display on site

or https://steamwebapi.azurewebsites.net/


vad ca esti roman. Alex #1421 cred ca imi este discordul. de pot rezolva eu
vad ca te descurci in sourcepawn. poti face si singur presupun

Last edited by alex2001; 06-25-2019 at 20:25.
alex2001 is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 06-26-2019 , 15:49   Re: Print online players to a web page
Reply With Quote #3

Quote:
Originally Posted by alex2001 View Post
you can make one plugin.
onplayerconnect = add name steam in mysql tabel.
and on disconect remove where steamid = playersteamid.
after you can take this with php and display on site

or https://steamwebapi.azurewebsites.net/


vad ca esti roman. Alex #1421 cred ca imi este discordul. de pot rezolva eu
vad ca te descurci in sourcepawn. poti face si singur presupun
Your mysql tabel idea is exactly as mine. I think that this method is just the best. Thanks.
__________________
kratoss1812 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode