03.08.2015, 13:35
Do just this:
PHP код:
foreach (new i : Character)
{
if(IsPlayerNPC(i))
{
//Here it is a NPC
continue;
}
//Here it is a Player
}