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 , 15:48   Re: check alive players from a team problem
Reply With Quote #13

Quote:
Originally Posted by IneedHelp View Post
try with CS_TEAM_T

Also, you can optimize your checkalive function doing only 1 loop
hmm, worked, but i've seen "cs_get_user_team(i) != 1" construction in public rulez plugin and it didn't give tag mismatch O_o

about only 1 loop, doesn't it "break" the loop with my code when it finds dead player in the team?

__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
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