check alive players from a team problem
PHP Code:
|
Re: check alive players from a team problem
Code:
Code:
|
Re: check alive players from a team problem
Code:
new players[ 32 ], num = 0;Code:
for (new i = 6; i <= get_maxplayers(); i++) |
Re: check alive players from a team problem
Quote:
Quote:
Quote:
hleV same thing with your variant |
Re: check alive players from a team problem
look, i tried to rewrite it:
PHP Code:
|
Re: check alive players from a team problem
Quote:
|
Re: check alive players from a team problem
it didn't help anyway, btw, why do i get a tag mismatch at
PHP Code:
|
Re: check alive players from a team problem
try with CS_TEAM_T
Also, you can optimize your checkalive function doing only 1 loop |
Re: check alive players from a team problem
Quote:
about only 1 loop, doesn't it "break" the loop with my code when it finds dead player in the team? |
Re: check alive players from a team problem
Quote:
Also, if g_event is true and you have "more than 5" players you will be setting the same task many times nearly simultaneously right? |
| All times are GMT -4. The time now is 02:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.