Quote:
Originally Posted by irule
How to do this to work the bots can join every once in 2 min or rondom minutes? thank you.
simple code..
Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("BOT", "1.0", "BOT");
}
public client_disconnected(id)
{
if (is_user_bot(id))
{
set_task( 30.0, "joined", id );
}
}
public joined( id )
{
if(is_user_bot(id))
{
??????
}
}
|
Explain what you want the outcome to be so nobody is making assumptions. Are you trying to make the bots look like real players, coming and going at random?
__________________