Code:
new weapon2 = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");
Code:
new weapon2 = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");
if(!IsValidEntity(weapon2)) return;
Also, add item index 208 somewhere(Upgradeable Flamethrower) else this won't work for anyone with a renamed/custom description normal flamethrower.
and...
Code:
if(weapon2 >=0){
}else{
What?