Quote:
Originally Posted by BaussHacker
You want to check how many players there is in a map?
Do a foreach and then use an integer that counts.
If you do not understand such simple things, then you could learn some basic C#? 
|
im trying to learining C# , but now i need the fixed code to check if the alive players in the current map == 1 or not , code .
thanks dude , i hope you post the code here .
Quote:
Originally Posted by _DreadNought_
foreach(ClientState in Kernel.GamePool.Values)
{
if (player.entity.map == 1002)
if (player.entity.alive)
}
|
this code will check count of alive players in the current map ?