is there anyway to use OpenURL inside the game?
Maybe like setting up cbk1994's web server to communicate with the servers requested and download a html file of it?
or maybe even some kind of serverside functionality like this?
PHP Code:
function onActionServerSide() {
if (params[0] == "getdata") {
temp.data = openurl("http://www.google.com");
triggerclient("weapon", this.name, "receive", data);
}
}
//#CLIENTSIDE
function onCreated() {
CreateGui();
}
function CreateGui() {
new GuiScrollCtrl("Data_Handler") {
profile = GuiBlueScrollProfile;
x = screenwidth / 2 - width / 2;
y = screenheight / 2 - height / 2;
width = 250;
height = 100;
hScrollBar = "dynamic";
vScrollBar = "alwaysOn";
new GuiMLTextCtrl("Data") {
profile = GuiBlueMLTextProfile;
x = 0;
y = 0;
width = 250;
height = 80;
text = "Loading Data From Server...";
}
}
}
function onActionClientSide() {
if (params[0] == "receive") {
Data.text = params[1];
}
}