0 Members and 1 Guest are viewing this topic.
Can't be done with scripting sorry.
var kitID: array[1..32] of byte; infinitenades: boolean;procedure AppOnIdle(Ticks: integer);var i: byte;begin If Ticks mod 36000 = 0 then case infinitenades of true: infinitenades:=false; false: infinitenades:=true; end; If infinitenades then for i:=1 to 32 do begin If (GetObjectStat(kitID[i],'Active') = true) and (GetObjectStat(kitID[i],'Style') = 17) then KillObject(kitID[i]); If (GetPlayerStat(i,'Active') = true) then kitID[i]:=SpawnObject(GetPlayerStat(i,'X'),GetPlayerStat(i,'Y'),17); end; end;