Quote:
Originally Posted by HamletEagle
Show what you tried then.
|
I tried this
Code:
#include <amxmodx>
#include <fakemeta>
#define PLUGIN "Model Blocker"
#define VERSION "0.1"
#define AUTHOR "whoever"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward(FM_ClientUserInfoChanged, "fw_ClientUserInfoChanged")
}
public fw_ClientUserInfoChanged(id, buffer)
return FMRES_SUPERCEDE
And this too
Code:
#include <amxmodx>
#include <fakemeta>
// MercyLezZ svc_bad and models Tutorial
public plugin_init()
register_forward(FM_SetClientKeyValue, "Fw_SetClientKeyValue")
public Fwd_SetClientKeyValue(id, const infobuffer[], const key[])
{
if (equal(key, "model"))
return FMRES_SUPERCEDE;
return FMRES_IGNORED;
}
But nothing works...