View Single Post
Re: Bots don't switch to given weapon after stripping
Old
  (#4)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Bots don't switch to given weapon after stripping - 21-07-2008

What is the method of stripping weapons You are using?
Are You clearing the right bit in the edict structure (pEdict->v.weapons)? Use also the command (to force them to use knife):
FakeClientCommand (pEdict, "weapon_knife")
You can check in podbot mm dll.cpp How does the function FakeClientCommand look like. Eventually You can check the source code of AMX X - it's similar method.
  
Reply With Quote