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(PLUGIN, VERSION, "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_JoinClass( id )
{
if( read_argc() == 1 )
{
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
public Event_ShowMenu_ClassSelect( id )
{
if( read_argc() == 1 )
{
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
public ClCmd_JoinTeam( id )
{
if( read_argc() > 1 )
{
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}