Author Topic: little problem help  (Read 633 times)

0 Members and 1 Guest are viewing this topic.

Offline addict

  • Major(1)
  • Posts: 19
little problem help
« on: October 14, 2007, 05:34:57 am »
procedure OnJoinGame(ID, Team: byte);
begin
 do SayToPlayer(NametoID(Name),Commands: !blue !red !spec); 
end;

-------------

 
  • Compiling ben2 -> ben2.pas...
  • ben2 -> [Error] (4:1): Identifier expected

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: little problem help
« Reply #1 on: October 14, 2007, 05:38:52 am »
...dare I recommend you taking some basic pascal tutorials before going any further?
Anyhow:

procedure OnJoinGame(ID, Team: byte);
begin
SayToPlayer(ID,'Commands: !blue !red !spec');
end;