Tyle kombinowania o dołączenie do teamu?
Spoiler
#include <amxmodx>
#define PLUGIN "Team join info"
#define VERSION "1.0"
#define AUTHOR "AMXX Community"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event( "TeamInfo", "join_team", "a")
}
public join_team()
{
new id = read_data(1)
static user_team[32]
read_data(2, user_team, 31)
if(!is_user_connected(id))
return PLUGIN_CONTINUE
switch(user_team[0])
{
case 'C':
{
// ct
}
case 'T':
{
//terri
}
case 'S':
{
// spekt
}
}
return PLUGIN_CONTINUE
}


Dodatki SourceMod



Temat jest zamknięty











