It seems CrossFunc doesn't work on scripts which have DisableScript as true...
tempa
procedure EnableMe;
begin
WriteLn('ENABLED DUH SCRIPT');
DisableScript := false;
end;
procedure ActivateServer();
begin
DisableScript := true;
end;
procedure AppOnIdle(Ticks: integer);
begin
WriteLn('I AM RUNNING ' + InttoStr(Ticks));
end;
tempb
procedure OnJoinGame(Id, Team: byte);
begin
CrossFunc([], 'tempa.EnableMe');
end;
when I join the game, apponidle in scripta doesnt start.
Would be cool to have something to support this or to have CrossFunc work in cases like this, sense afterall DisableScript is only supost2 disable calling of events from the server, not calling of any function from another script.