[SOLVED]Round end
Hi.I want to detect when the round is end but without "register_logevent". I want to detect it when "round timer" equal with 0,and make stuffs!
I tried something like this but is not working!:| Code:
public plugin_init() |
Re: Round end
RoundTime is fired at start of freezetime with the value of mp_freezetime
At the end of freezetime it's fired again with the value of mp_roundtime. Both values are in seconds and always pozitive. You cannot use this tho because the round could end before roundtime expires. |
Re: Round end
To hook round end with an event, you can use something like too, I believe :
Code:
|
Re: Round end
Yeah...but in maps without objectives? :|...
|
Re: Round end
Something like this?
Code:
|
Re: Round end
Quote:
Quote:
|
Re: Round end
http://forums.alliedmods.net/showthread.php?t=42159
This tutorial contains instructions on round-related events. Hope that helps you out. |
Re: Round end
I know that TUT lol,but not contains what i look for.
@djmd378 - I tried that but round is ending much sooner! :| Thanks all . |
Re: Round end
try this:
PHP Code:
|
Re: Round end
Huh ^^ ...thanks Sylwester is working like a charm :P! :wink:
|
| All times are GMT -4. The time now is 21:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.