Quote Originally Posted by IzNoGoD View Post
Shouldnt this be more like
PHP Code:
int hook_StateCompare(char statechar base)
{
    if (
CvarVariableValue == NULL || CvarVariableValue("sv_cracked") == 1
        return 
0;
    return 
strcmp(statebase);

No, because I hook these 2 calls.

PHP Code:
if ( !sub_81AAAE2(v16"deny") )
result = (void *)sub_81AAAE2(v16"accept");