Raised This Month: $12 Target: $400
 3% 

[CS:GO] Pausing/Removing round timer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 12-08-2013 , 11:28   [CS:GO] Pausing/Removing round timer
Reply With Quote #1

Hello!
Can somebody help me with pausing or removing timer at some event? Like when player has planted a bomb. I have no idea how round timer entity is called.
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-08-2013 , 11:50   Re: [CS:GO] Pausing/Removing round timer
Reply With Quote #2

I'm not sure what the timer entity is named in CS:GO, but in TF2 it's team_round_timer.

Having said that, the gamerules proxy entity (cs_gamerules) may have inputs for manipulating the timer.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 12-08-2013 at 11:52.
Powerlord is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 12-08-2013 , 13:56   Re: [CS:GO] Pausing/Removing round timer
Reply With Quote #3

i am also interessed in manipulating the round timer, but for each client different. that worked for amxmod but no idea how do this with sourcemod..
abckrieger is offline
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 12-09-2013 , 12:47   Re: [CS:GO] Pausing/Removing round timer
Reply With Quote #4

Quote:
Originally Posted by Powerlord View Post
Having said that, the gamerules proxy entity (cs_gamerules) may have inputs for manipulating the timer.
Indeed. I already tried that, but there are no way to stop round timer (i may be wrong), I can only set its length.
For me its enough to set infinite round timer, so I use this.
Code:
GameRules_SetProp("m_iRoundTime", -1);
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode