AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Block Team (https://forums.alliedmods.net/showthread.php?t=188775)

Randomize 06-30-2012 08:50

Block Team
 
Hi all, i want to choose character outside the game.. not inside the game.. Please don't judge this is impossible because, I've successfully to choose weapon outside the game.. (If you don't trust me, you can PM me for the video)

My questions is how to make when after press ok on MOTD, automatically choose terorrist team, i've using connor's code

PHP Code:

#include <amxmodx>

#define VERSION "0.0.1"
#define PLUGIN ""

public plugin_init()
{
    
register_plugin(PLUGINVERSION"ConnorMcLeod")
    
register_event("ShowMenu""Event_ShowMenu_ClassSelect""b""1>0""4=#Terrorist_Select""4=#CT_Select")
    
register_clcmd("joinclass""ClCmd_JoinClass")
    
register_clcmd("jointeam""ClCmd_JoinTeam")
}

public 
ClCmd_JoinClassid )
{
    if( 
read_argc() == )
    {
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE
}
public 
Event_ShowMenu_ClassSelectid )
{
    if( 
read_argc() == )
    {
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE
}

public 
ClCmd_JoinTeamid )
{
    if( 
read_argc() > )
    {
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE



Liverwiz 06-30-2012 11:28

Re: Block Team
 
you might need to use rage or orpheu......

Randomize 06-30-2012 18:50

Re: Block Team
 
Just to make player automatically select Terorrist Team and Terror classes need oprheu? O.o

ConnorMcLeod 06-30-2012 18:54

Re: Block Team
 
Quote:

Originally Posted by Randomize (Post 1740043)
Just to make player automatically select Terorrist Team and Terror classes need oprheu? O.o

No.

Randomize 07-01-2012 00:27

Re: Block Team
 
How? :o

Liverwiz 07-01-2012 01:20

Re: Block Team
 
Quote:

Originally Posted by ConnorMcLeod (Post 1740046)
No.

Most useful post i've ever seen. Good for you, Connor! *applause*

ConnorMcLeod 07-01-2012 03:48

Re: Block Team
 
Because he was afraid of having to use orpheu, i didn't want him to stay afraid.
Try VEN's plugin.

Randomize 07-01-2012 20:28

Re: Block Team
 
lol thanks for your help :)


All times are GMT -4. The time now is 15:25.

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