0 Members and 1 Guest are viewing this topic.
Hold on. Currently I'm writing an update for it, will be out soon.Dealing with a database will be much easier then
function OnPlayerCommand(ID: Byte; Text: string): boolean;var name: string; pass: integer; Logged: array[1..32] of boolean;begin name := GetPiece(LowerCase(Text), ' ', 1); pass := MD5String(inttostr(GetPiece(LowerCase(Text), ' ', 2)); if GetPiece(LowerCase(Text), ' ', 0) = '/create' then begin if not Logged[ID] then begin _CreateRow(name + #9 + pass + #9 + 'MyData' + #9 + '10'); end; end;