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

TeamLocker


Post New Thread Reply   
 
Thread Tools Display Modes
misterx
Member
Join Date: Jan 2011
Old 02-23-2011 , 09:27   Re: TeamLocker
Reply With Quote #101

Link broken!
misterx is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-10-2011 , 03:44   Re: TeamLocker
Reply With Quote #102

http://supercentral.net/forums/index...3-team-locker/
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
OmniDragon
New Member
Join Date: Mar 2012
Old 03-17-2012 , 12:52   Re: TeamLocker
Reply With Quote #103

Message on link reads: This account has been suspended.

Last edited by OmniDragon; 03-17-2012 at 13:54.
OmniDragon is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-19-2012 , 10:29   Re: TeamLocker
Reply With Quote #104

http://users.svn.alliedmods.net/view...ugins&view=log
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
XLN's | [Lo]Phreak^n^c
Senior Member
Join Date: May 2006
Location: Argentina
Old 03-19-2012 , 12:59   Re: TeamLocker
Reply With Quote #105

supercentral mirror http://projectyami.com/supercentral/index.php
__________________
::: If u're 555 then I'm 666 :::
XLN's | [Lo]Phreak^n^c is offline
Aydeev
Junior Member
Join Date: Oct 2014
Old 11-11-2014 , 16:48   Re: TeamLocker
Reply With Quote #106

The lock can be bypassed by using the Vgui menus (setinfo "_vgui_menus" "1")

Is there any way to prevent that?


Edit: Found a solution myself. Add this to force the old style menu on players while picking teams

PHP Code:
public plugin_init() { 
register_message(get_user_msgid("VGUIMenu"), "prevent_vgui_menu")
}

public 
prevent_vgui_menu(msgiddestid
{
    
    if (
get_msg_arg_int(1) == )
    {
        
set_user_info(id"_vgui_menus""0")
        
client_cmd(id"chooseteam")
    }
    else {    
        return 
PLUGIN_CONTINUE    
    
}
    
    return 
PLUGIN_HANDLED


Last edited by Aydeev; 11-12-2014 at 08:06.
Aydeev 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 15:25.


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