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

[CS:S] Bypass Choose A Class [$$$]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fearts
ferts of daeth
Join Date: Oct 2008
Old 05-16-2012 , 16:57   [CS:S] Bypass Choose A Class [$$$]
Reply With Quote #1

I need a simple script that will bypass the Choose A Class menu for CS:S. When a player picks T or CT it will not show the Choose A Class menu and just put that player on the selected team. If you have any questions let me know.

I would be willing to pay a few dollars for this to be made.
__________________

Last edited by Fearts; 05-16-2012 at 16:57.
Fearts is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-16-2012 , 16:59   Re: [CS:S] Bypass Choose A Class [$$$]
Reply With Quote #2

might be possible... if no one gives you anything, I'll try to write something up... but yesterday was an 18 hour day at work, and today will be long too... so maybe Friday.
__________________
View my Plugins | Donate
TnTSCS is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 05-16-2012 , 17:00   Re: [CS:S] Bypass Choose A Class [$$$]
Reply With Quote #3

Would be nice. Reason I need this is my store script is being exploited by credit farmers.
__________________
Fearts is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 05-16-2012 , 18:58   Re: [CS:S] Bypass Choose A Class [$$$]
Reply With Quote #4

This request was done for free by 1Swat2KillThemAll. He has allowed me to post the source for others who wish to use his code:
__________________

Last edited by Fearts; 01-17-2013 at 16:06.
Fearts is offline
chuj
Member
Join Date: Jan 2012
Location: Kraków, Poland
Old 11-07-2013 , 15:11   Re: [CS:S] Bypass Choose A Class [$$$]
Reply With Quote #5

So... Could you post?
chuj is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-07-2013 , 15:48   Re: [CS:S] Bypass Choose A Class [$$$]
Reply With Quote #6

PHP Code:
public OnPluginStart()
{
    
HookUserMessage(GetUserMessageId("VGUIMenu"), VGUIMenutrue);
}

public 
Action:VGUIMenu(UserMsg:msg_idHandle:bf, const players[], playersNumbool:reliablebool:init)
{
    if(!
reliable)
    {
        return 
Plugin_Continue;
    }

    new 
String:buffer[10];
    
BfReadString(bfbuffersizeof(buffer));

    if(
StrContains(buffer"class_") == && !IsFakeClient(players[0]))
    {
        
FakeClientCommandEx(players[0], "joinclass 0");
        return 
Plugin_Handled;
    }
    return 
Plugin_Continue;


Last edited by Bacardi; 11-07-2013 at 15:49.
Bacardi is offline
chuj
Member
Join Date: Jan 2012
Location: Kraków, Poland
Old 11-07-2013 , 17:00   Re: [CS:S] Bypass Choose A Class [$$$]
Reply With Quote #7

Thanks!
chuj 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 23:59.


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