Raised This Month: $32 Target: $400
 8% 

[L4D2] Player Switch Menu and Team Panel v1.2.1


Post New Thread Reply   
 
Thread Tools Display Modes
eziosid
Senior Member
Join Date: Sep 2017
Old 11-21-2017 , 00:53   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #111

Quote:
Originally Posted by drago140 View Post
Does anyone have any updated gamedata file for this awesome teamspanel? i cant switch from spec to survivors
try this :
Attached Files
File Type: txt l4d2_bwa_teams_panel.txt (1.4 KB, 307 views)
eziosid is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 11-21-2017 , 01:09   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #112

hello all just need little help

how to stop player Switch team they change team easy by type join command

// Join various teams directly, team must have open slot
RegConsoleCmd("joinspec", JoinSpectatorTeam);
RegConsoleCmd("joinsurvivor", JoinSurvivorTeam);
RegConsoleCmd("joininfected", JoinInfectedTeam);

RegConsoleCmd("jointeam", JoinRandomTeam);

i change this

// Join various teams directly, team must have open slot
R//egConsoleCmd("joinspec", JoinSpectatorTeam);
R//egConsoleCmd("joinsurvivor", JoinSurvivorTeam);
R//egConsoleCmd("joininfected", JoinInfectedTeam);

RegConsoleCmd("join", JoinRandomTeam);

when survivor dead they type !join and they move to infected ... i just want when dead played type join massege show U R DEAD WAIT FOR REVIVE .. or. . .takeoverbot i mean they dont move to infected and show YOU ARE ALLREADY IN GAME when when player type !join plz help me tnx

sory my eng is not good come from india

Last edited by eziosid; 11-21-2017 at 01:55.
eziosid is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-21-2017 , 05:40   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #113

Quote:
Originally Posted by eziosid View Post
hello all just need little help

how to stop player Switch team they change team easy by type join command

// Join various teams directly, team must have open slot
RegConsoleCmd("joinspec", JoinSpectatorTeam);
RegConsoleCmd("joinsurvivor", JoinSurvivorTeam);
RegConsoleCmd("joininfected", JoinInfectedTeam);

RegConsoleCmd("jointeam", JoinRandomTeam);

i change this

// Join various teams directly, team must have open slot
R//egConsoleCmd("joinspec", JoinSpectatorTeam);
R//egConsoleCmd("joinsurvivor", JoinSurvivorTeam);
R//egConsoleCmd("joininfected", JoinInfectedTeam);

RegConsoleCmd("join", JoinRandomTeam);

when survivor dead they type !join and they move to infected ... i just want when dead played type join massege show U R DEAD WAIT FOR REVIVE .. or. . .takeoverbot i mean they dont move to infected and show YOU ARE ALLREADY IN GAME when when player type !join plz help me tnx

sory my eng is not good come from india
Change:
PHP Code:
    // Join various teams directly, team must have open slot
    
RegConsoleCmd("joinspec"JoinSpectatorTeam);
    
RegConsoleCmd("joinsurvivor"JoinSurvivorTeam);
    
RegConsoleCmd("joininfected"JoinInfectedTeam);
    
    
RegConsoleCmd("jointeam"JoinRandomTeam); 
To this:
PHP Code:
    // Join various teams directly, team must have open slot
    
RegAdminCmd("joinspec"JoinSpectatorTeamADMFLAG_KICK);
    
RegAdminCmd("joinsurvivor"JoinSurvivorTeamADMFLAG_KICK);
    
RegAdminCmd("joininfected"JoinInfectedTeamADMFLAG_KICK);
    
    
RegAdminCmd("jointeam"JoinRandomTeamADMFLAG_KICK); 
Players need the admin "kick" flag to use the commands.
__________________
Psyk0tik is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-21-2017 , 20:46   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #114

This would make the command exclusive to admins alone. Not what the OP is asking for.

I guess a global bool for every player can be established. Turning it on for the first instance when player connects and then reverting back to the message.
__________________
Spirit_12 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-21-2017 , 21:06   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #115

Quote:
Originally Posted by Spirit_12 View Post
This would make the command exclusive to admins alone. Not what the OP is asking for.

I guess a global bool for every player can be established. Turning it on for the first instance when player connects and then reverting back to the message.
I know but he was asking for a way to stop players from having access to those commands, and based on the "changes" he tried to make, I figured he'd like it exclusive to admins only.
__________________
Psyk0tik is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 11-26-2017 , 01:37   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #116

Quote:
Originally Posted by Crasher_3637 View Post
Change:
PHP Code:
    // Join various teams directly, team must have open slot
    
RegConsoleCmd("joinspec"JoinSpectatorTeam);
    
RegConsoleCmd("joinsurvivor"JoinSurvivorTeam);
    
RegConsoleCmd("joininfected"JoinInfectedTeam);
    
    
RegConsoleCmd("jointeam"JoinRandomTeam); 
To this:
PHP Code:
    // Join various teams directly, team must have open slot
    
RegAdminCmd("joinspec"JoinSpectatorTeamADMFLAG_KICK);
    
RegAdminCmd("joinsurvivor"JoinSurvivorTeamADMFLAG_KICK);
    
RegAdminCmd("joininfected"JoinInfectedTeamADMFLAG_KICK);
    
    
RegAdminCmd("jointeam"JoinRandomTeamADMFLAG_KICK); 
Players need the admin "kick" flag to use the commands.
hi sir tnx for tip but i need only Spectator use join command and joined player when they type !join see this massage U ARE ALREADY IN GAME when

Example : in game survivor (live player) if he type !join ----- hint massage show YOU ARE ALREADY JOINED SURVIVOR TEAM

same as infected ..! tnx in advance
eziosid is offline
chatyak
Senior Member
Join Date: Aug 2011
Old 12-18-2017 , 21:46   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #117

L 12/18/2017 - 20:41:21: SourceMod error session started
L 12/18/2017 - 20:41:21: Info (map "c1m2_streets") (file "errors_20171218.log")
L 12/18/2017 - 20:41:21: [SM] Exception reported: Client index 19 is invalid
L 12/18/2017 - 20:41:21: [SM] Blaming: l4d2_bwa_teamspanel.smx
L 12/18/2017 - 20:41:21: [SM] Call stack trace:
L 12/18/2017 - 20:41:21: [SM] [0] IsClientConnected
L 12/18/2017 - 20:41:21: [SM] [1] Line 1740, /home/forums/content/files/9/9/8/5/2/95471.attach:erformSwitch
L 12/18/2017 - 20:41:21: [SM] [2] Line 1550, /home/forums/content/files/9/9/8/5/2/95471.attach::JoinSurvivorTeam
L 12/18/2017 - 20:415: [SM] Exception reported: Client index 19 is invalid
L 12/18/2017 - 20:415: [SM] Blaming: l4d2_bwa_teamspanel.smx
L 12/18/2017 - 20:415: [SM] Call stack trace:
L 12/18/2017 - 20:415: [SM] [0] IsClientConnected
L 12/18/2017 - 20:415: [SM] [1] Line 1740, /home/forums/content/files/9/9/8/5/2/95471.attach:erformSwitch
L 12/18/2017 - 20:415: [SM] [2] Line 1574, /home/forums/content/files/9/9/8/5/2/95471.attach::JoinRandomTeam
L 12/18/2017 - 20:419: [SM] Exception reported: Client index 19 is invalid
L 12/18/2017 - 20:419: [SM] Blaming: l4d2_bwa_teamspanel.smx
L 12/18/2017 - 20:419: [SM] Call stack trace:
L 12/18/2017 - 20:419: [SM] [0] IsClientConnected
L 12/18/2017 - 20:419: [SM] [1] Line 1740, /home/forums/content/files/9/9/8/5/2/95471.attach:erformSwitch
L 12/18/2017 - 20:419: [SM] [2] Line 1593, /home/forums/content/files/9/9/8/5/2/95471.attach::JoinRandomTeam
L 12/18/2017 - 20:41:41: [SM] Exception reported: Client index 19 is invalid
L 12/18/2017 - 20:41:41: [SM] Blaming: l4d2_bwa_teamspanel.smx
L 12/18/2017 - 20:41:41: [SM] Call stack trace:
L 12/18/2017 - 20:41:41: [SM] [0] IsClientConnected
L 12/18/2017 - 20:41:41: [SM] [1] Line 1740, /home/forums/content/files/9/9/8/5/2/95471.attach:erformSwitch
L 12/18/2017 - 20:41:41: [SM] [2] Line 1574, /home/forums/content/files/9/9/8/5/2/95471.attach::JoinRandomTeam
L 12/18/2017 - 20:42:02: Error log file session closed.

Last edited by chatyak; 12-18-2017 at 21:47.
chatyak is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 12-18-2017 , 22:48   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #118

I did not verify the gamedata, but the error should be gone now.
Attached Files
File Type: txt l4d2_bwa_teams_panel.txt (1.4 KB, 276 views)
File Type: sp Get Plugin or Get Source (l4d2_bwa_teamspanel.sp - 730 views - 53.5 KB)
__________________

Last edited by Spirit_12; 12-23-2017 at 21:52.
Spirit_12 is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 12-19-2017 , 05:33   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #119

in this plugin can auto balance team player ? i mean in 1st round 8 survivors vs 9 infected
in the middile of map 3 survivor player disconnect by user its still 5 vs 9 how to make balance them 7vs7 after 1st map end ... ! i man 2nd map start like 7vs7 that's all thanks
eziosid is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 12-19-2017 , 15:09   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #120

Quote:
Originally Posted by eziosid View Post
in this plugin can auto balance team player ? i mean in 1st round 8 survivors vs 9 infected
in the middile of map 3 survivor player disconnect by user its still 5 vs 9 how to make balance them 7vs7 after 1st map end ... ! i man 2nd map start like 7vs7 that's all thanks
No! This plugin will not auto balance teams. Players can switch themselves with the !infected or !survivor commands, but plugin doesn't auto balance anything.
__________________
Spirit_12 is offline
Reply


Thread Tools
Display Modes

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 14:03.


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