remove HEV weaponstrip code? Created 13 years ago2011-09-15 03:05:20 UTC by gian20 gian20

Created 13 years ago2011-09-15 03:05:20 UTC by gian20 gian20

Posted 13 years ago2011-09-15 03:05:20 UTC Post #298951
How to remove the H.E.V using the player_weaponstrip?
I cant figure out the code that will remove the H.E.V from the player, using the player_weaponstrip in the Valve Hammer 3.5...

Half-life SDK 2.3
Posted 13 years ago2011-09-15 05:02:45 UTC Post #298954
go to player.cpp, find this line:
pPlayer->RemoveAllItems( FALSE )
Change 'FALSE' to 'TRUE'
Posted 13 years ago2011-09-15 05:07:17 UTC Post #298955
Thanks a lot! :):):):):)
I saw that code, and my mind is questioning it why it is FALSE not TRUE!
hahaha
Tnx!
Posted 13 years ago2011-09-15 10:49:19 UTC Post #298966
Well, whenever Valve used it they simply removed the players weapons, not the HEV. I guess there was no need for it to be coded any other way as far as they were concerned. :P
monster_urby monster_urbyGoldsourcerer
You must be logged in to post a response.