[FilterScript] Players Connected
#37

No need to release it as filterscript.

Quote:
pawn Код:
for(new i; i < GetMaxPlayers(); i++)
The most wrongest way of looping through all players.

Use
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(!IsPlayerConnected(i)) continue;
    //...
}
or foreach by ******
pawn Код:
#include <foreach>
//...
foreach(Player, i)
{
    //...
}
Reply


Messages In This Thread
[No subject] - by Deathlane - 03.03.2012, 02:27
Re: Players Connected - by [Cali]ChrOnic_T - 03.03.2012, 02:34
Re: Players Connected - by Ballu Miaa - 03.03.2012, 02:34
Re: Players Connected - by [Cali]ChrOnic_T - 03.03.2012, 02:36
Re: Players Connected - by suhrab_mujeeb - 03.03.2012, 02:52
Re: Players Connected - by Deathlane - 03.03.2012, 03:02
Re: Players Connected - by [Cali]ChrOnic_T - 03.03.2012, 03:32
Re: Players Connected - by Jack_SMalls - 03.03.2012, 03:50
Re: Players Connected - by Deathlane - 03.03.2012, 04:10
Re: Players Connected - by Shahil kumar - 03.03.2012, 04:24
Re: Players Connected - by ddnbb - 03.03.2012, 04:46
Re: Players Connected - by DarkScripter - 03.03.2012, 05:20
Re: Players Connected - by Deathlane - 03.03.2012, 06:36
Re: Players Connected - by Sami Ham - 03.03.2012, 07:49
Re: Players Connected - by Deathlane - 03.03.2012, 09:03
Re: Players Connected - by Deathlane - 03.03.2012, 11:57
Re: Players Connected - by Kyle - 03.03.2012, 12:19
Re: Players Connected - by Bect - 03.03.2012, 13:29
Re: Players Connected - by Shadow_ - 03.03.2012, 13:32
Re: Players Connected - by eDz0r - 03.03.2012, 13:36
Re: Players Connected - by Marshall32 - 03.03.2012, 18:14
Re: Players Connected - by Quinlynn - 03.03.2012, 18:45
Re: Players Connected - by Ash. - 03.03.2012, 19:08
Re: Players Connected - by Deathlane - 03.03.2012, 23:15
Re: Players Connected - by Baboon - 03.03.2012, 23:25
Re: Players Connected - by Deathlane - 03.03.2012, 23:49
Re: Players Connected - by Ash. - 04.03.2012, 00:00
Re: Players Connected - by Deathlane - 04.03.2012, 00:08
Re: Players Connected - by Deathlane - 04.03.2012, 11:38
AW: Players Connected - by [N2L]DarkJoker - 04.03.2012, 11:51
Re: Players Connected - by Ash. - 04.03.2012, 11:54
Re: Players Connected - by Deathlane - 05.03.2012, 06:27
Re: Players Connected - by maylay - 05.03.2012, 14:02
Re: Players Connected - by Ash. - 05.03.2012, 15:41
Re: Players Connected - by Zxdsl - 05.03.2012, 16:02
Re: Players Connected - by PawnFox - 05.03.2012, 18:40
AW: Players Connected - by BigETI - 05.03.2012, 19:56
Re: Players Connected - by RAIDER (RU) - 13.04.2012, 08:46
Respuesta: Players Connected - by Francis. - 13.04.2012, 19:49
Re: Respuesta: Players Connected - by Ash. - 13.04.2012, 20:23
Re: Players Connected - by Lor_Danielle07 - 14.04.2012, 08:21
Re: Players Connected - by jueix - 14.04.2012, 09:18
AW: Players Connected - by DarkZero - 14.04.2012, 09:36
Re: Players Connected - by Deathlane - 15.04.2012, 03:08
Re: Players Connected - by RollTi - 15.04.2012, 03:14
Re: Players Connected - by Deathlane - 15.04.2012, 03:20
Re: Players Connected - by Deathlane - 15.04.2012, 03:44
Respuesta: Re: Players Connected - by Francis. - 15.04.2012, 05:14
Re: Players Connected - by Deathlane - 15.04.2012, 06:03

Forum Jump:


Users browsing this thread: 7 Guest(s)