[ Solved ] How to get num of terrorists ?
:o
|
Re: How to get num of terrorists ?
It should work. How did you test to get this conslusion ?
|
Re: How to get num of terrorists ?
with looping task in init, every 30 secs
|
Re: How to get num of terrorists ?
Don't use that method anyway, though it seems the most common sense way to do it.
Before I give you updated code, I have to question why the hell you'd be looping this. That's a bad idea and needless to boot. Do you want to know the current T count at any given moment? This code will give you the T count: Code:
new players[32], playerCnt, playerIdx, terroristCnt; |
Re: How to get num of terrorists ?
Quote:
|
Re: How to get num of terrorists ?
Quote:
PHP Code:
|
Re: How to get num of terrorists ?
Have you done any tests to see which is better? I haven't, so was just wondering.
|
Re: How to get num of terrorists ?
Quote:
Quote:
|
Re: How to get num of terrorists ?
PHP Code:
|
Re: How to get num of terrorists ?
No, I don't think. The less you use natives, the better it is.
I don't see the point to use get_players() without flags, if the purpose is just to loop through all players. So, the danielkza's way is more appropriate. ( considering that "e" flag can return incorrect results ) |
| All times are GMT -4. The time now is 03:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.