<?php
public void http(GLScript.unionVal val, ArrayList args)
{
infoPlayer currInfoPlayer = newCfg.getCurrInfoPlayer();
string ident = val.nameFunction;
if (currInfoPlayer == null)
throw new GLScript.GLApp.GLScriptException("You can't use " + ident + " in this context, not a player event");
testArgs(ident, "S", args);
objWebCmd.sendWebCmd(currInfoPlayer.UCID, args[0].ToString());
}
?>
<?php
public void sendWebCmd(int UCID, string url)
{
Monitor.Enter(QwebCmd);
QwebCmd.Enqueue(new webCmd(UCID, url));
Monitor.Exit(QwebCmd);
}
?>
Illegal character: <'> at line #1
Error: Illegal character. at line #1
<?php
$string = "Hello,".GetPlayerVar($user, 'NickName')."!"
?>
6/2/2018 11:32:11 PM -> Syntax error: in file ".\server\.\includes\.\webadmin.lpr" at line #148
You can't use http in this context, not a player event
Function 'onlapperstart_http' script aborted