View Single Post
Dreamy
SourceMod Donor
Join Date: Mar 2012
Old 04-08-2012 , 06:57   Re: [Any] Allow Admins to spectate the other team
Reply With Quote #52

Dude look for yourself, the only difference is:
PHP Code:
PrintToChat(this"Hook fired"); 
PHP Code:
        if(!DHookGetReturn(hReturn))
        {
            
PrintToChat(this"Change return!");
        } 
This has nothing to do with the actual plugin.

And btw this code is 95% equal to the code I posted 2 weeks ago, it just has a few more checks in IsValidTarget which I let out coz they are already handled within the source engine. Glad that its working for you now, still this is pretty strange.. sure you didn change >anything< at your server?

Last edited by Dreamy; 04-08-2012 at 07:10.
Dreamy is offline