Where to start? Integrating in-game text to a website and visa versa - 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: Where to start? Integrating in-game text to a website and visa versa (
/showthread.php?tid=435313)
Where to start? Integrating in-game text to a website and visa versa -
SomebodyAndMe - 06.05.2013
Alright so this is what I'm trying to do.
I'm trying to create a script that reads in-game text and makes it kinda like a *******feed:
(In-Game)Kevin: Hello this is posted from in-game!
(Website)Randomuser: Hey Kevin!
At this moment the player in-game should see the text posted from the website: "(Website)Randomuser: Hey Kevin!".
Should I do this with HTTP to a php file and let that create a xml file and let a xml loader read it again?
Any ideas on how to accomplish this?
Re: Where to start? Integrating in-game text to a website and visa versa -
Scenario - 06.05.2013
You'll need a PHP page and this plugin, if I'm not mistaken.
http://forum.sa-mp.com/showthread.ph...hlight=sockets
Re: Where to start? Integrating in-game text to a website and visa versa -
GiamPy. - 06.05.2013
As RealCop228 said, you need to use sockets.