Quote:
Originally Posted by 12tails
nice my name is 123tails now oO
hmm lol... do something like :
Code:
int alive = 0;
foreach(Entity player in Program.GamePool.Values)
if(player.Map = Desiredmaphere)
if(player.Alive)//or if (!player.ContainsFlag(Enums.Flags.Dead))
alive++;
don't copy e paste.. its an example >D
|
lol , sorry for wrong name
but i think this isnt right code , i need code like
PHP Code:
if (map.playerscount = 1)
i know this is wrong code , but im looking for one like that code .
to check if the alive players == 1players , which is talking to the npc or more than one player , thats all .
thanks 12Tails
i hope you understand my idea .