Author Topic: Run-time error  (Read 1117 times)

0 Members and 1 Guest are viewing this topic.

Offline kornsick

  • Major(1)
  • Posts: 42
  • Fhtagn!
    • Soldat Server @ StarNet
Run-time error
« on: June 11, 2007, 03:27:07 am »
Quote
  • Run-time error (OnJoinTeam): Not enough parameters
this appears when i joing my server, something with Killing Sprees Script, help me please.


part of the script:
Code: [Select]
procedure OnJoinTeam(IP, Nickname: string;Team: byte);
begin
kills[NameToId(Nickname)] := 0;
end;

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Run-time error
« Reply #1 on: June 11, 2007, 03:28:55 am »
You can not use an old 1.3.1 script with Soldat 1.4.0.

Code: [Select]
procedure OnJoinTeam(ID, Team: byte);
begin
end;

Offline kornsick

  • Major(1)
  • Posts: 42
  • Fhtagn!
    • Soldat Server @ StarNet
Re: Run-time error
« Reply #2 on: June 11, 2007, 03:31:14 am »
Um.. so Killing Sprees script is outdated... i can throw it away now?

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Run-time error
« Reply #3 on: June 11, 2007, 03:32:16 am »
Contact the author for an updated version

Offline kornsick

  • Major(1)
  • Posts: 42
  • Fhtagn!
    • Soldat Server @ StarNet
Re: Run-time error
« Reply #4 on: June 11, 2007, 03:33:10 am »
Ok, thanks.