I want change "weapon_knife" to all weapons in cs 1.6 or use another way...(?),How i can do it?
PHP Code:
public plugin_init( )
{
register_plugin ( "test" , "test" , "test" )
// register_event("CurWeapon","Cur_Weapon","be","1=1" ); no want use it
// and this FwdPlayerPreThink...
RegisterHam(Ham_Item_Deploy, , "Ham_Item_Deploy_Post", 1);
}
public Ham_Item_Deploy_Post(weapon_ent){
new id = get_pdata_cbase(weapon_ent, 41)
// my code...
}