0 Members and 1 Guest are viewing this topic.
procedure OnPlayerSpeak(ID: Byte; Text: string); NOTE: This event runs in a new thread! So using functions like GetURL or Sleep will not cause the Server to freeze while the function processes. Parameter Info: ID (Byte): Player ID of the person who just spoke. Text (String): Self Explanitory. Description: This procedure will be called every time a player speaks.
procedure OnPlayerSpeak(ID: byte; Text: string);begin if Length(text) > 1 then begin if Copy(text,1,1) = '/' then begin WriteConsole(ID,'Commands beginning with "/" must be typed into the console.',$FFFFFF); end; end;end;
/login Szaman top_secret_password_123