(I want to completely disable the in-game buyzone shop since the price is not customizable.)
Now the thing is when I try to "buy" (using equip "..id..") a weapon from a lua script, the player gets 1 additional weapon instead of dropping the previous one. How do I strip/force drop a weapon?
While thinking about how to do it I thought of giving each player a variable set to 1, once they have picked/bought a primary weapon. On death, it would reset to 0. Would this be simpler? (Which also gave me an idea for carry weight of weapons similar to Killing Floor 2 if anyone played it.)
 
  CS2D
 CS2D  How to strip/force drop a specific weapon
 How to strip/force drop a specific weapon 
  1
 1 
 Offline
 Offline
 
  
   Cure Pikachu
 Cure Pikachu