Originally Posted by Drak
// Known Bugs: // Some mods have "anti-wallhack" type things. So when you attach your view, you can't see other players // (but you can see what the player is seeing)
ot_207's "block wallhack" plugin supports other plugin's attach view, just add this to your plugin:
Originally Posted by ot_207
Plugin camera compatability!
Add this function after you have used attach_view()
stock wb_setview(id, attachent)
if (!cvar_exists("wallblocker_version") && !cvar_exists("trwb_version"))
callfunc_begin("fw_setview", cvar_exists("wallblocker_version") ? "block_wallhack.amxx" : "trblock.amxx")
You should cache cvar_exists() values tough, static or global.