Raised This Month: $183 Target: $400
 45% 

Specific Netprops


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 12-05-2020 , 12:30   Specific Netprops
Reply With Quote #1

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(iEntityProp_Data"m_iszWeaponName""weapon_m4a1_silencer");
SetEntPropString(iEntityProp_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

Last edited by Halt; 12-05-2020 at 12:32. Reason: Posted wrong place
Halt is offline
FroGeX
Senior Member
Join Date: Aug 2020
Old 01-23-2021 , 03:32   Re: Specific Netprops
Reply With Quote #2

and what exactly are you trying to do?
FroGeX is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:59.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode