Official Soldat Forums

Server Talk => Server Discussion => Topic started by: Rulez on January 28, 2014, 08:52:56 am

Title: Server scripting help
Post by: Rulez on January 28, 2014, 08:52:56 am
Hello, i just set up my server and i found some bugs here or maybe i just don't know how figure it out.


I put on this stats system:

http://forums.soldat.pl/index.php?topic=35944.msg437083#msg437083

and after few kills and death command !stats show me only one death, no frags, no points etc. I read there about mysql, got one but simply dunno why should i use it, if somebody could help me with that i would be happy.

another thing, i dig up all script forum and cant find quick join/spec script (!j, !s). if somebody could link it or up it i would thank
Title: Re: Server scripting help
Post by: Bonecrusher on January 28, 2014, 11:31:49 am
Copied from a bigger script so might not work, not sure, u will have to test it out.

Code: [Select]
procedure OnPlayerSpeak(ID: Byte; Text: string);
begin
 if Text = '!join' then Command('/setteam0 '+inttostr(ID));
 if Text = '!5' then Command('/setteam5 '+inttostr(ID));
 if Text = '!spec' then Command('/setteam5 '+inttostr(ID));
end;
Title: Re: Server scripting help
Post by: Rulez on January 28, 2014, 12:51:48 pm
works well, ty