AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   This is killing me (https://forums.alliedmods.net/showthread.php?t=132025)

GXLZPGX 07-11-2010 06:03

This is killing me
 
Honestly, heres basicly what I've been trying to get:

Counter-Terrorist team is NOT join-able
-No, I don't want a team join management plugin or auto join on connect, I simply want to block them from joining the CT team.

At the beginning of the round, it chooses a 1:4 ratio number of CT's.
-Meaning for every 4 terrorists, there is one counter-terrorist.

I've been working days on end. I've searched the forums for "ratio" but all I found were some shitty ones for deathrun that were too complex for my simple mind to tweak. If you're willing to help me, I will be your sex slave!

ConnorMcLeod 07-11-2010 07:24

Re: This is killing me
 
For team block try this :

PHP Code:

#include <amxmodx>

#define VERSION "0.0.1"

public plugin_init()
{
    
register_plugin("Block CT Team Select"VERSION"ConnorMcLeod")

    
register_menucmd(register_menuid("Team_Select"true), MENU_KEY_2|MENU_KEY_5"BlockTeam")
    
register_clcmd("jointeam 2""BlockTeam")
    
register_clcmd("jointeam 5""BlockTeam")
}

public 
BlockTeam(id)
{
    
engclient_cmd(id"chooseteam")
    
client_print(idprint_chat"Server has disabled this option.")
    return 
PLUGIN_HANDLED



GXLZPGX 07-11-2010 18:33

Re: This is killing me
 
Quote:

Originally Posted by ConnorMcLeod (Post 1235281)
For team block try this :

PHP Code:

#include <amxmodx>

#define VERSION "0.0.1"

public plugin_init()
{
    
register_plugin("Block CT Team Select"VERSION"ConnorMcLeod")

    
register_menucmd(register_menuid("Team_Select"true), MENU_KEY_2|MENU_KEY_5"BlockTeam")
    
register_clcmd("jointeam 2""BlockTeam")
    
register_clcmd("jointeam 5""BlockTeam")
}

public 
BlockTeam(id)
{
    
engclient_cmd(id"chooseteam")
    
client_print(idprint_chat"Server has disabled this option.")
    return 
PLUGIN_HANDLED



Very much appreciated. Worked like a charm, now I'm starting the ratio.

Lure.d 07-11-2010 22:55

Re: This is killing me
 
sounds like its for jailbreak.

GXLZPGX 07-11-2010 23:26

Re: This is killing me
 
Quote:

Originally Posted by Lure.d (Post 1236225)
sounds like its for jailbreak.

Nah, I'm working on a simpsons freezetag. The server that created the first simpsons freezetag (quick-gaming), shut down their freezetag server. So I'm starting a new one based off of them.

grimvh2 07-12-2010 04:35

Re: This is killing me
 
Quote:

Originally Posted by GXLZPGX (Post 1236255)
Nah, I'm working on a simpsons freezetag. The server that created the first simpsons freezetag (quick-gaming), shut down their freezetag server. So I'm starting a new one based off of them.

:p I also got a freezetag, only based on familyguy (not my idea) and no models. Are u planning to release it or keeping it private?

Alucard^ 07-12-2010 04:53

Re: This is killing me
 
Sry but, what is freezetag? o.o

GXLZPGX 07-12-2010 05:05

Re: This is killing me
 
Quote:

Originally Posted by Alucard^ (Post 1236401)
Sry but, what is freezetag? o.o

Self explanitory. There are the seekers, and hiders. CT's being the seekers, t's being the hiders. The CT's touch the T's, and they get frozen. If a T touches the frozen person, the frozen person gets unfrozen. After someone has been frozen 3 times or so, they become a seeker, and as this is happening there is a timer, if the timer runs out before the CT's get all the T's. Terrorists win. If the CT's freeze all the T's, CT's win obviously.

#8 SickneSS 07-12-2010 06:47

Re: This is killing me
 
Quote:

Originally Posted by GXLZPGX (Post 1236407)
Self explanitory. There are the seekers, and hiders. CT's being the seekers, t's being the hiders. The CT's touch the T's, and they get frozen. If a T touches the frozen person, the frozen person gets unfrozen. After someone has been frozen 3 times or so, they become a seeker, and as this is happening there is a timer, if the timer runs out before the CT's get all the T's. Terrorists win. If the CT's freeze all the T's, CT's win obviously.

Like "La Mancha" (The same thing,but with other name)

Alucard^ 07-12-2010 07:45

Re: This is killing me
 
Quote:

Originally Posted by GXLZPGX (Post 1236407)
Self explanitory. There are the seekers, and hiders. CT's being the seekers, t's being the hiders. The CT's touch the T's, and they get frozen. If a T touches the frozen person, the frozen person gets unfrozen. After someone has been frozen 3 times or so, they become a seeker, and as this is happening there is a timer, if the timer runs out before the CT's get all the T's. Terrorists win. If the CT's freeze all the T's, CT's win obviously.

Cooool... i will make a plugin for this.


All times are GMT -4. The time now is 07:12.

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