Ignore certain ID's in a loop
#3

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
pawn Код:
if(!IsPlayerConnected(i) || i != killerid || i != playerid) continue;
With this only the 'killerid' and 'playerid' will work...

Wouldn't be this?
pawn Код:
if(!IsPlayerConnected(i) || i == killerid || i == playerid) continue;
Ha, that could explain a few things, thanks for pointing that out mate.

Edit: The issue I have still stands though, I need an alterate way of bypassing id's in a loop as continue doesn't work the way I thought it would.
Reply


Messages In This Thread
Ignore certain ID's in a loop - by Infamous - 04.11.2012, 09:01
Re: Ignore certain ID's in a loop - by ViniBorn - 04.11.2012, 09:16
Re: Ignore certain ID's in a loop - by Infamous - 04.11.2012, 09:18
Re: Ignore certain ID's in a loop - by [KHK]Khalid - 04.11.2012, 11:05
Re: Ignore certain ID's in a loop - by Babul - 04.11.2012, 11:06
Re: Ignore certain ID's in a loop - by Infamous - 04.11.2012, 11:29

Forum Jump:


Users browsing this thread: 2 Guest(s)