AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] How to make a bot throwing a grenade (https://forums.alliedmods.net/showthread.php?t=156210)

lkh1018 05-02-2011 14:03

[Help] How to make a bot throwing a grenade
 
Hello, I am using Nextra's method to create a fake bot(or fake client? Are they the same thing?).
After that, I gave it a hegrenade by fm_give_item().
However, I can't figure out how to make the bot throwing the grenade.
I have used client_cmd, engclient_cmd, engfunc(EngFunc_RunPlayerMove, ...), but I still can't make that bot throwing the grenade.
So, I am here and seeking for help.
Can you teach me how to make a bot throw a grenade?
Or is there any other method to create a entity of grenade?


Sorry for my poor English, please don't ignore me even you don't understand what I said, I will try my best to explain what I am asking.

Off topic: what does this crab:crab: mean?


All times are GMT -4. The time now is 04:30.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.