Detect Round Time 0:00
I am writing a plugin and I removes all bombsites, hostage zones.
When the round time reaches 0:00, the game wont go to next round. So I want the game restarts (sv_restart 1) when the round time becomes 0:00. How to detect it?? Thanks for your help! |
Re: Detect Round Time 0:00
1. http://forums.alliedmods.net/showthread.php?p=209931 (already done)
2. Try this for roundtime /restart =>> PHP Code:
|
Re: Detect Round Time 0:00
Thanks!! +karma :up:
But wad is somthing o.O |
Re: Detect Round Time 0:00
=)) is name of public! put another name... :)
|
Re: Detect Round Time 0:00
i mean how to trigger it??
|
Re: Detect Round Time 0:00
...In this form plugin must work!...dunno what you mean...
EDIT:np :wink: |
Re: Detect Round Time 0:00
oh... Sorry. Thanks!
|
Re: Detect Round Time 0:00
Alka's code will not work. I believe he just thought that you need to check if mp_roundtime CVar value is equal to 0. But this is not the case here.
This is the only way to do it Code:
|
Re: Detect Round Time 0:00
Can I make "Counter-Terrorists Win!" event instead of restarting the round? If yes, please give me the code.
|
Re: Detect Round Time 0:00
The thing what i ment is to change the round restart event to CTs win event.
|
| All times are GMT -4. The time now is 11:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.