Quote:
Originally Posted by egbertjan
Please, any suggestions?
|
Don't bump until 2 weeks have passed since last post.
Also, try this:
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <engine>
#define m_pPlayer 41
public plugin_init()
RegisterHam(Ham_Item_Deploy, "weapon_ak47", "FwdAk47DeployPost", 1);
public FwdAk47DeployPost(iWeapon)
{
new id = get_pdata_cbase(iWeapon, m_pPlayer, 4);
if(id > 0 && player_class[id] == Mage)
entity_set_string(id, EV_SZ_viewmodel, MAGICAK47);
}
__________________