Stop/change round time
Is there a way to change the value of the remaining round time? (Not just the time displayed on the players' hud but the actual round time).
I want to make a pause command that will freeze the round timer (c4 timer too if it's planted), immobilize the players and prevent them from shooting. |
Re: Stop/change round time
server_cmd("pause")
|
Re: Stop/change round time
Use Infinite Round to stop all round times.
Then, create your own timer and use Round Terminator to end the round. |
Re: Stop/change round time
Quote:
But how can I block or at least detect the usage of the "pause" command? register_clcmd("pause"... doesn't work. |
Re: Stop/change round time
sv_pausable 0 should disable the pause command.
|
Re: Stop/change round time
But how to detect when a client types it in console?
|
Re: Stop/change round time
client's don't have access to it. (basically)
|
Re: Stop/change round time
Quote:
|
Re: Stop/change round time
if sv_pausable is 1, everyone has access to it. You cannot detect it, it's not hookable, I tried it.
|
Re: Stop/change round time
Oh.....well i learned something today.
I thought it was just for clients to pause their host server. For career purposes and such. And an admin command to pause the server when needed. i always used amxmodmenu to do it. |
| All times are GMT -4. The time now is 06:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.