Raised This Month: $ Target: $400
 0% 

Need auto slay bots..


Post New Thread Reply   
 
Thread Tools Display Modes
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-06-2005 , 13:17  
Reply With Quote #11

I edited my post but w/e, here's the code:
Code:
#include <amxmodx> #define PLUGIN    "Slay all bots" #define VERSION    "0.1b" #define AUTHOR    "v3x" public plugin_init() {   register_plugin(PLUGIN, VERSION, AUTHOR);   register_event("DeathMsg", "Event_DeathMsg", "a"); } public Event_DeathMsg() {   new iHumans[32], iNum;   get_players(iHumans, iNum, "bc");   if(!iNum)   {     new iBots[32], nNum, i;     get_players(iBots, nNum, "ad");     if(nNum > 0)     {       for(i = 0; i <= nNum; i++)         user_kill(iBots[i]);     }   } }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
B-v-G
Member
Join Date: Aug 2005
Old 12-06-2005 , 13:30  
Reply With Quote #12

it did not work....
:@
B-v-G is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-06-2005 , 13:45  
Reply With Quote #13

Try replace "<=" with "<"
VEN is offline
B-v-G
Member
Join Date: Aug 2005
Old 12-06-2005 , 15:27  
Reply With Quote #14

still dont work,, you should test first
*Starting to get angry(cant open my server until i get that plugin)*
B-v-G is offline
B-v-G
Member
Join Date: Aug 2005
Old 12-07-2005 , 09:24  
Reply With Quote #15

http://forums.alliedmods.net/showthread.php?t=10762
That dont work to me, PODbot mm with the lastet verion


EDIT: It says, to get it work to an other bot, just change:
#define KB_CMD2KILL "joebot endrond"

What should i replace "joebot endrond" with?
I have tested: podbot, podbotmm and no of them work
B-v-G is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-07-2005 , 14:40  
Reply With Quote #16

Quote from the pod_bot_mm documentation.
Quote:
If the Bots are stuck or you just want to start a new round type in
"killbots" which will force all bots to be dead instantly.
So code may be simpler if you are use such bots.

Quote:
still dont work
Replace "bc" flags to "ac".
VEN is offline
Skym(a)ker
Junior Member
Join Date: Dec 2005
Old 12-07-2005 , 15:21  
Reply With Quote #17

Quote:
Originally Posted by B-v-G
http://forums.alliedmods.net/showthread.php?t=10762
That dont work to me, PODbot mm with the lastet verion


EDIT: It says, to get it work to an other bot, just change:
#define KB_CMD2KILL "joebot endrond"

What should i replace "joebot endrond" with?
I have tested: podbot, podbotmm and no of them work
Replace it with: "pb killbots" ...
Skym(a)ker is offline
B-v-G
Member
Join Date: Aug 2005
Old 12-07-2005 , 15:30  
Reply With Quote #18

Quote:
Originally Posted by Skym(a)ker
Quote:
Originally Posted by B-v-G
http://forums.alliedmods.net/showthread.php?t=10762
That dont work to me, PODbot mm with the lastet verion


EDIT: It says, to get it work to an other bot, just change:
#define KB_CMD2KILL "joebot endrond"

What should i replace "joebot endrond" with?
I have tested: podbot, podbotmm and no of them work
Replace it with: "pb killbots" ...

It works now : :: THX
B-v-G is offline
Skym(a)ker
Junior Member
Join Date: Dec 2005
Old 12-07-2005 , 15:33  
Reply With Quote #19

Replace it with: "pb killbots" ...[/quote]

It works now : :: THX[/quote]

No problem
Great!


Public server?
Skym(a)ker is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:54.


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