View Single Post
Cruze
Veteran Member
Join Date: May 2017
Old 03-13-2019 , 13:16   Re: [CS:GO] HideNSeek (aka Classic HNS, ChaseMod) [v2.0.0-beta, 21-03-2015]
Reply With Quote #124

Quote:
Originally Posted by UGDemonX View Post
Might be a bit late in regards to your query about this error, though, if anyone else comes across this post, this is the solution I found for CS:GO.
  1. Navigate to or download the following file to your local machine if using FTP to connect to server: sdktools_gamerules.inc
    Code:
    /csgo/addons/sourcemod/scripting/include/sdktools_gamerules.inc
  2. Scroll all the way down in the file until you find the following code:
    Code:
    stock RoundState GameRules_GetRoundState()
    {
    	return view_as<RoundState>(GameRules_GetProp("m_iRoundState"));
    }
  3. Replace the above code with below code:
    Code:
    stock RoundState GameRules_GetRoundState()
    {
    	return view_as<RoundState>(GameRules_GetProp("m_iRoundTime"));
    }
  4. Save the file or upload it back up to the FTP server, restart your server or change the map and it should not dump those errors any longer!

Hope this helps!
I can't see what you changed in step 2 and 3.
Edit: Nvm I'm blind. m_iRoundState to m_iRoundTime
__________________
Taking paid private requests! Contact me

Last edited by Cruze; 03-13-2019 at 13:18. Reason: I'm blind.
Cruze is offline