![]() |
Making bots drop weapons
Hey everyone,
Is there a constant defined anywhere for the button that makes a character drop their weapon (in the same way that IN_ATTACK causes the trigger to be pulled)? Thanks, JB |
Re: Making bots drop weapons
or you can force a client to run a command.. such as "drop"
it should work for bots too right? |
Re: Making bots drop weapons
Can you explain what you mean? Maybe a code snippet?
Thanks a lot, JB |
Re: Making bots drop weapons
Yes, it's a client command.
Use FakeClientCommand (pEdict, "drop\n"); or FakeClientCommand (pEdict, "drop", NULL, NULL); if you're using botman's FakeClientCommand() |
All times are GMT +2. The time now is 07:57. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.