Raised This Month: $ Target: $400
 0% 

Cvar Util problem, Game commencing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
orel56000
Member
Join Date: Apr 2015
Old 08-07-2019 , 15:14   Re: Cvar Util problem, Game commencing
Reply With Quote #1

Quote:
Originally Posted by CrazY. View Post
Code:
static OrpheuFunction:handleFunc; HandleHookCheckWinConditionsPre = OrpheuRegisterHook( handleFunc, "OnCheckWinConditions_Pre" , OrpheuHookPre );

Code:
new OrpheuFunction:handleFunc = OrpheuGetFunction( "CheckWinConditions", "CHalfLifeMultiplay" ); HandleHookCheckWinConditionsPre = OrpheuRegisterHook( handleFunc, "OnCheckWinConditions_Pre" , OrpheuHookPre );

Also, I suggest you post the signature for CheckWinConditions that you're using.
I don't have CheckWinConditions file, but that because I took this line from the infinity round plugin, which don't have it as well(I couldn't find any file named CheckWinConditions in his .zip file) maybe I'm wrong, and I just need to search and add it

Edit: I just added the signature CheckWinConditions and its still not working:
Code:
{
    "name"    : "CheckWinConditions",
    "class"   : "CGameRules",
    "library" : "mod",
    "indexes" : 
    [
        {
            "os"    : "windows",
            "mod"   : "cstrike",
            "value" : 65
        },
        {
            "os"    : "linux",
            "mod"   : "cstrike",
            "value" : 65
        }
    ]
}

Last edited by orel56000; 08-07-2019 at 15:19.
orel56000 is offline
Reply



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 17:24.


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