AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   REQ - Script Help. (https://forums.alliedmods.net/showthread.php?t=347028)

irule 03-28-2024 19:46

REQ - Script Help.
 
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_connected(id) {     if (is_user_bot(id))     {         set_task( 30.0, "joined", id );     } } public joined( id ) {     if(is_user_bot(id))     {         ??????     } }

Bugsy 03-29-2024 18:55

Re: REQ - Script Help.
 
Quote:

Originally Posted by irule (Post 2820224)
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?

irule 03-29-2024 19:19

Re: REQ - Script Help.
 
Quote:

Originally Posted by Bugsy (Post 2820287)
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?

Yes like that .

Bugsy 03-29-2024 19:48

Re: REQ - Script Help.
 
So you want a plugin that executes a console command every X random seconds?

mlibre 03-29-2024 19:54

Re: REQ - Script Help.
 
use bot_quota to decrease and increase

irule 03-29-2024 20:20

Re: REQ - Script Help.
 
Quote:

Originally Posted by Bugsy (Post 2820291)
So you want a plugin that executes a console command every X random seconds?

If it's possible idk but If not then lock the thread.

Bugsy 03-29-2024 20:34

Re: REQ - Script Help.
 
I need very specific criteria for how it should work... I cant read your mind and magically make it happen. Every aspect of a plugin has to be coded for what it will do.


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

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