Originally Posted by
IzNoGoD
Shouldnt this be more like
PHP Code:
int hook_StateCompare(char * state, char * base)
{
if (CvarVariableValue == NULL || CvarVariableValue("sv_cracked") == 1)
return 0;
return strcmp(state, base);
}
No, because I hook these 2 calls.
PHP Code:
if ( !sub_81AAAE2(v16, "deny") )
result = (void *)sub_81AAAE2(v16, "accept");