Quote:
Originally Posted by expertcode
)))) I am has plugin for automatical join to team, with checked steamid. I use command join Team.
SQL_FetchRow(st)
new slot = SQL_FetchInt(st, 0)
PrintToServer("SLOT player %i", slot)
CloseHandle(st)
SQL_UnlockDatabase(db)
if (slot<6) {
team = TEAM_GOOD;
}else{
team = TEAM_BAD;
}
player_team[index] = team
player_is_connected[index] = 1;
ChangeClientTeam(client_id, team)
if (TEAM_GOOD == team)
PrintToServer("join good team")
else if (TEAM_BAD == team)
PrintToServer("join bad team")
But i join player in moment connect to game.
I want set settings for server befor user click on connect, so does the Official server
|
bro can you tell me that how to make this possible . people connect my server and no need to type jointeam good or bad in console they just have option to select good or bad like this . if possible please share ...