Raised This Month: $51 Target: $400
 12% 

REQ - Script Help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
irule
Junior Member
Join Date: Mar 2024
Old 03-28-2024 , 19:46   REQ - Script Help.
Reply With Quote #1

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))     {         ??????     } }

Last edited by irule; 03-29-2024 at 19:41.
irule is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-29-2024 , 18:55   Re: REQ - Script Help.
Reply With Quote #2

Quote:
Originally Posted by irule View Post
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?
__________________
Bugsy is offline
irule
Junior Member
Join Date: Mar 2024
Old 03-29-2024 , 19:19   Re: REQ - Script Help.
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
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 .
irule is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-29-2024 , 19:48   Re: REQ - Script Help.
Reply With Quote #4

So you want a plugin that executes a console command every X random seconds?
__________________
Bugsy is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 03-29-2024 , 19:54   Re: REQ - Script Help.
Reply With Quote #5

use bot_quota to decrease and increase
__________________
mlibre is offline
irule
Junior Member
Join Date: Mar 2024
Old 03-29-2024 , 20:20   Re: REQ - Script Help.
Reply With Quote #6

Quote:
Originally Posted by Bugsy View Post
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.
irule is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-29-2024 , 20:34   Re: REQ - Script Help.
Reply With Quote #7

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.
__________________
Bugsy 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 15:08.


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