Raised This Month: $ Target: $400
 0% 

delaying a plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 07-16-2008 , 12:36   delaying a plugin
Reply With Quote #1

hi, well i just wanted to know if there were something i could add to plugins to delay them so that i can have bots join a team before the tjm plugin can force the human players onto another team. hope i did a good job trying to explain what i want. thanks
Tirant is offline
JFeldon
Member
Join Date: Feb 2007
Location: United Kingdom
Old 07-16-2008 , 14:00   Re: delaying a plugin
Reply With Quote #2

You could just use random_num to get a number 1 or 2. If it's 1, put all humans on T and bots on CT regardless. If it's 2, all humans to CT and bots to T. I don't code for CS so I'm sure about what commands there are, but just use that in plugin_init. Then when I player joins, force them onto said team. Just a suggestion, since I don't know how to delay the plugin in the way you mean.

You can change the order they load though. In plugins.ini the ones nearer the top load first, the ones lower down load later.
Hope some of that helped
__________________
+Karma if I helped! ;)
JFeldon is offline
Send a message via MSN to JFeldon
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 07-16-2008 , 17:27   Re: delaying a plugin
Reply With Quote #3

right now the bots join fine, its just that i want to prevent other people from joining t and force them to join ct. the bots i'm using isn't amxx, its a separate metamod dll.
Tirant is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 07-16-2008 , 18:28   Re: delaying a plugin
Reply With Quote #4

So u want only bots on T and force players to CT team?
If u do i think theres a plugin or 2 out there that do this allready
__________________
minimiller is offline
Send a message via MSN to minimiller
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 07-16-2008 , 19:15   Re: delaying a plugin
Reply With Quote #5

Quote:
Originally Posted by minimiller View Post
So u want only bots on T and force players to CT team?
If u do i think theres a plugin or 2 out there that do this allready
i've been looking for a week or so, wanna link me up to these then please?
Tirant is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 07-17-2008 , 11:07   Re: delaying a plugin
Reply With Quote #6

is_user_bot
Jon 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 05:31.


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