0 Members and 1 Guest are viewing this topic.
var i: integer;for i := 1 to ID-1 do begin // Commandsendfor i := ID+1 to 32 do begin // Commandsend
var i: byte;begin for i := 1 to 32 do if (i <> Id) then //whatever u wantend;
Code: [Select]var i: integer;for i := 1 to ID-1 do begin // Commandsendfor i := ID+1 to NumPlayers do begin // CommandsendThe two Command (// Commands) parts have to be the same, or it won't do the same to the players (except ID)!
var i: integer;for i := 1 to ID-1 do begin // Commandsendfor i := ID+1 to NumPlayers do begin // Commandsend
var i: Integerbegin // loop, eh for i := 1 to 32 do // we only wanna do it on active players if GetPlayerStat(i, 'Active') = true then // and not on the user if i <> ID then // ^^ Command('/kill ' + inttostr(i));end;
Quote from: Railor on March 14, 2008, 03:49:28 pmCode: [Select]var i: integer;for i := 1 to ID-1 do begin // Commandsendfor i := ID+1 to NumPlayers do begin // CommandsendThe two Command (// Commands) parts have to be the same, or it won't do the same to the players (except ID)!That wouldn't work, IDs have nothing to do with NumPlayers,
I don't even know how you guys understood the original question....