AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   delaying a plugin (https://forums.alliedmods.net/showthread.php?t=74327)

Tirant 07-16-2008 12:36

delaying a plugin
 
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

JFeldon 07-16-2008 14:00

Re: delaying a plugin
 
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

Tirant 07-16-2008 17:27

Re: delaying a plugin
 
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.

minimiller 07-16-2008 18:28

Re: delaying a plugin
 
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

Tirant 07-16-2008 19:15

Re: delaying a plugin
 
Quote:

Originally Posted by minimiller (Post 653826)
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?

Jon 07-17-2008 11:07

Re: delaying a plugin
 
is_user_bot


All times are GMT -4. The time now is 05:31.

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