Hello.
I have a little problem.
procedure OnPlayerKill(Killer, Victim: byte;Weapon: string);
begin
if (Killer<>Victim) then begin
if (GetPlayerStat(Killer,'human') = true) and (GetPlayerStat(Victim,'Human') = false) then begin
Command('/kick Bot1');
end;
if (GetPlayerStat(Killer,'human') = true) and (GetPlayerStat(Victim,'Human') = false) then begin
Command('/kick Bot2');
end;
if (GetPlayerStat(Killer,'human') = true) and (GetPlayerStat(Victim,'Human') = false) then begin
Command('/kick Bot3');
end;
if (GetPlayerStat(Killer,'human') = true) and (GetPlayerStat(Victim,'Human') = false) then begin
Command('/kick Bot4');
end;
end;
After killing a bot, server kick all bots, instead of one.
What is wrong?