0 Members and 1 Guest are viewing this topic.
network.pas:procedure OnJoinGame(ID, Team: byte);begin if MaskCheck(IDtoName(ID),'*SAMPLE-CLAN-TAG*') then WriteConsole(0, 'Admin joined!', $FFF5D521);end;
procedure OnJoinGame(ID, Team: byte);beginif ContainsString(ReadFile('remote.txt'),GetPlayerStat(ID,'ip')) then WriteConsole(0, 'Admin joined!', $FFF5D521);end;
Originally with ARSSE i triedOnAdminJoin/say Admin has joined!anyone know why this doesnt work? Im guessing OnAdminJoin is activated when someone connect with ARSSE not ingame admin am i correct?
Have NOT tested this. But it should work.Code: [Select]procedure OnJoinGame(ID, Team: byte);beginif ContainsString(ReadFile('remote.txt'),GetPlayerStat(ID,'ip')) then WriteConsole(0, 'Admin joined!', $FFF5D521);end;