Proper code should be:
function OnPlayerCommand(ID: Byte; Text: string): boolean;
begin
if Text = '/stats' then begin
WriteConsole(ID,'your name is '+GetPlayerStat(ID,'name'),$FFFFFFFF);
WriteConsole(ID,'your health is '+inttostr(GetPlayerStat(ID,'health')),$FFFFFFFF);
WriteConsole(ID,'your vest is '+inttostr(GetPlayerStat(ID,'vest')),$FFFFFFFF);
WriteConsole(ID,'your kills are '+inttostr(GetPlayerStat(ID,'kills')),$FFFFFFFF);
end;
end;