Edit - Mod please mod thread, my mistake posting here.
Anyone familiar with env_gunfire's datamaps? I found these two values in my dump. I'm attempting to set the following values to no prevail.
m_iszWeaponName (weaponname)
m_iszShootSound (shootsound)
Or perhaps my implementation is incorrect?
PHP Code:
SetEntPropString(iEntity, Prop_Data, "m_iszWeaponName", "weapon_m4a1_silencer");
SetEntPropString(iEntity, Prop_Data, "m_iszShootSound", "/weapons/m4a1/m4a1_silencer_01.wav");
The values I'm using are from the dev wiki
https://developer.valvesoftware.com/wiki/Env_gunfire