Duda: foreach YSI.
#4

Quote:
Originally Posted by Onfroi
Посмотреть сообщение
foreach no detecta NPCs

pawn Код:
foreach(new i: Player)
{
    if(IsPlayerNPC(i))
    {
    // codigo
    }
}
pawn Код:
Iterators:

Player - List of all players connected.
Bot - List of all bots (npcs) connected.
NPC - Alias of Bot.
Character - All players and bots.
Por eso hago la duda...
Reply


Messages In This Thread
Duda: foreach YSI. - by Unrea1 - 02.08.2015, 23:19
Respuesta: Duda: foreach YSI. - by Johansitho - 03.08.2015, 00:00
Re: Duda: foreach YSI. - by Onfroi - 03.08.2015, 00:06
Re: Duda: foreach YSI. - by Unrea1 - 03.08.2015, 00:43

Forum Jump:


Users browsing this thread: 1 Guest(s)