I am trying to make a script that lets people know what admin is on and who isn't.
I got something like this, but I have no idea if it would work. I just got it from another script and modified it.
var
Zyynafk: string;
procedure ActivateServer();
begin
Zyynafk := '0';
end;
function OnPlayerCommand(ID: Byte; Text: string): boolean;
begin
if (message = '/zyynafk') then begin
if (Zyynafk = '0') then begin
Zyynafk := '1';
WriteConsole(0,'Zyyn has set status to afk.),RGB(0,255,255));
DrawText(0,'Set status to afk.',330,RGB(255,0,0),1.10,20,370);
end;
end;
end;