Raised This Month: $ Target: $400
 0% 

DOTA Reserve slot before user connecting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
n0way0out
Junior Member
Join Date: Mar 2013
Old 06-29-2014 , 13:21   Re: DOTA Reserve slot before user connecting
Reply With Quote #1

Quote:
Originally Posted by expertcode View Post
)))) 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 ...
n0way0out is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:26.


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