Hi,
I would like to ask you for a wiki update:
- adding (deleted recently imo) again a link to the scripting templates page (old wiki:
http://devs-old.soldat.pl/index.php/Default_Scripts_Template)
- updating description of function:
function OnRequestGame(IP: string; State: integer): integer;
because if you want to use:
function OnRequestGame(IP: string; State: integer): integer;
begin
ForwardClient(IP, Reqport, '37.187.180.142', 23123, 'Bla bla bla');
result:=state;
end;
You need to use that "reqport" - what is that btw? It's not a parameter of that function (RequestGame). Some global variable? And how it behaves when two or more ppl join that server in the same time? It's overwritten?
In the wiki there is suggestion of using GetPlayerStat(ID, 'port')... but there is no ID provided here, because the player has not joined yet...
So please, fix that documentation mess
Thx in advance.
Best regards,
Szaman.