View Single Post
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 02-27-2011 , 13:19   Re: Making a player invisible? (CS:S)
Reply With Quote #14

come on guys, i gave you 3 net props. i said try -1 which didn't work and i said try in one of the thinks, that doesn't mean you give up and thats the end of it, you have to fiddle with them to see what values do what. not bothering after trying 1 value is just lazy and especially if you expect someone else to do all the work. this is the last time i'll do the work, people on these forums need to stop being so lazy.

"m_iAddonBits" is bitwise, it defines what attachments to show, here are the values.

PHP Code:
0     none
1     flashbang 1
2     flashbang 2
4     hegrenade
8     smokegrenade
16     c4
32     defuser
64     primary weapon
128     pistol
256     extra holster 
for dual elites 
"m_iPrimaryAddon" and "m_iSecondaryAddon" define what model to show on the players back or holster when their addon bit is enabled. here are the values.

PHP Code:
0     none
1     p228
2     glock
3     scout
4     hegrenade
5     xm1014
6     c4
7     mac10
8     aug
9     smokegrenade
10     elite
11     fiveseven
12     ump45
13     sg550
14     galil
15     famas
16     usp
17     awp
18     mp5navy
19     m249
20     m3
21     m4a1
22     tmp
23     g3sg1
24     flashbang
25     deagle
26     sg552
27     ak47
28     knife
29     p90 
you have to set all net props in sdkhooks postthinkpost.

note you can make any of the above models show up in the primary or secondary attachment so you can have a knife showing on the players back or an awp in the holster.
blodia is offline