Hi i need code for no recoil at weapon
I have this code
but i want change forward updateclientdata fakemeta >> reapi
I have this code
Код:
#include <amxmodx>
#include <fakemeta>
#include <reapi>
public plugin_init()
{
register_plugin("bleble", "1.0", "asdas");
RegisterHookChain(RG_CBasePlayer_PreThink, "PreThink");
register_forward(FM_UpdateClientData, "UpdateClientData", 1)
}
public PreThink(id)
{
set_entvar(id, EntVars:var_punchangle, {0.0,0.0,0.0});
}
public UpdateClientData(id, sw, cd_handle)
{
set_cd(cd_handle, CD_PunchAngle, {0.0,0.0,0.0})
}