[CS] get/set_gamerules_* have no effect
Hello.
On my Windows server (6153) with AMXX 1.9.0 5229 i have next problem: The code below doesn't work: PHP Code:
In game i see 00;30 on timer, but when it reaches 00:00 the round doesn't end and continues for another 30 seconds (because mp_roundtime = 1.0). Any suggestions? |
Re: [CS] get/set_gamerules_* have no effect
@Arkshine, @HamletEagle, #bug, #error?
|
Re: [CS] get/set_gamerules_* have no effect
Round_Start is slightly too early, use a small delay(0.1).
Reason is: https://github.com/s1lentq/ReGameDLL...ules.cpp#L2655 m_iRoundTimeSecs is changed after Round_Start is sent. |
Re: [CS] get/set_gamerules_* have no effect
OMG... how i was supposed to know that?? Advanced scripting for CS is so weird. :)
I will edit it later, if everything works fine. Thank you. |
Re: [CS] get/set_gamerules_* have no effect
You were not supposed to know this, I did not know either. But that was the only obvious reason so I checked that and it made sense.
Only thing you need is to know where to search. |
Re: [CS] get/set_gamerules_* have no effect
Yes, you are right, but also for me it made sense: freezetime ends and i alter the timer.
However, it works. (with 0.1 task). Thank you. Solved. |
All times are GMT -4. The time now is 09:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.