Raised This Month: $ Target: $400
 0% 

check alive players from a team problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Owyn
Veteran Member
Join Date: Nov 2007
Old 04-06-2009 , 13:18   Re: check alive players from a team problem
Reply With Quote #4

Quote:
Originally Posted by SnoW View Post
Code:
new players[ 32 ], num = 0;
get_players( players, num, "ae", team );
if( !num )
//No alive players in that team
Code:
for (new i = 6; i <= get_maxplayers(); i++)
I don't understand... Why from 6?
Quote:
Note: "e" flag can return incorrect results (for cstrike/czero at least).
that's what written in the funcwiki =\

Quote:
Why from 6?
to not let doevent() if less than 6 players on server...



hleV
same thing with your variant
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.

Last edited by Owyn; 04-06-2009 at 13:40.
Owyn is offline
Send a message via ICQ to Owyn
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode