Quote:
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:
Quote:
Originally Posted by ot_207
Plugin camera compatability!
Add this function after you have used attach_view() or EngFunc_SetView functions
PHP Code:
stock wb_setview(id, attachent) { if (!cvar_exists("wallblocker_version") && !cvar_exists("trwb_version")) return 0
callfunc_begin("fw_setview", cvar_exists("wallblocker_version") ? "block_wallhack.amxx" : "trblock.amxx") callfunc_push_int(id) callfunc_push_int(attachent) callfunc_end() return 1 }
|
You should cache cvar_exists() values tough, static or global.
__________________