round start
PHP Code:
|
Re: round start
You can see the last arguments:
1. Called on round start (after freezetime) 2. Called on "Game Commencing" (when the game restarts after a second player enters the server) 3. Called on round restarting (sv_restart/sv_restartround) They can all be set in only one native call: PHP Code:
|
Re: round start
Okay, then whats the difference between those 3 you mentioned and this one?
register_event("HLTV", "event_round_start", "a", "1=0", "2=0") |
Re: round start
This one is called on round start BEFORE freezetime.
|
Re: round start
If im doing team_count
PHP Code:
register_logevent("round_start", 2, "0=World triggered", "1=Round_Start","1=Game_Commencing","1&Restart_Round_") |
Re: round start
You can use get_players native for better work.
|
Re: round start
Quote:
This is better, and don't forget that unassigned players and spectators are not alive. Code:
|
Re: round start
Okay, so now im useing this team_count to get know when theres 2 alive t's left so that /box function would be available.
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 15:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.