0 Members and 1 Guest are viewing this topic.
procedure OnJoinGame(ID, Team: byte);beginend;
procedure OnJoinGame(ID, Team: byte);begin if(IDToName(ID)='Botname') then begin DoDamage(ID,-100); end;end;
procedure OnJoinTeam(ID, Team: byte);beginDoDamage(ID,75);end;
Yes it is just put this in a scriptCode: [Select]procedure OnJoinTeam(ID, Team: byte);beginDoDamage(ID,75);end;This will hurt your hp to half and if you set the 75 to 150 it will kill you
varspawned: array[1..32] of boolean;procedure AppOnIdle(Ticks: integer);vari: byte;beginfor i:=1 to 32 do if (GetPlayerStat(i,'active')=true)and(spawned[i]=true) then begin DoDamage(i,75); spawned[i]:=false; end;end;procedure OnPlayerRespawn(ID: byte);beginspawned[ID]:=true;end;