How to detect
How do I detect if have a Last T alive?
This is for Last Request system, for JailBreak. |
Re: How to detect
Open miscstats.sma and look how it is coded.
|
Re: How to detect
The method I used probably isn't the best, but I used get_players and looped through alive T's and counted them. If it was 1 T, it would compare the ID with the person who typed the command.
Hope this helps |
Re: How to detect
PHP Code:
|
Re: How to detect
Quote:
PHP Code:
|
Re: How to detect
First hahaha :D
|
Re: How to detect
@Jon: The way you showed is how I do it
|
Re: How to detect
You could call a function on each player death that subtracts from a total team players number for terrorists, then you'd know immediately when only one is left..?
Assuming they can't join in the middle of a round. |
| All times are GMT -4. The time now is 15:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.