Quote:
Originally Posted by CrazY.
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
}
]
}