Raised This Month: $ Target: $400
 0% 

(CS:S)Who help me make a plugin T.T


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
694372459
Member
Join Date: Aug 2012
Old 08-07-2012 , 04:19   (CS:S)Who help me make a plugin T.T
Reply With Quote #1

Im chinese .so my english not good.forgive me

player just can join CT..can't join T..

that's it !


thank you very much
694372459 is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 08-07-2012 , 04:37   Re: (CS:S)Who help me make a plugin T.T
Reply With Quote #2

PHP Code:
#pragma semicolon 1

#include <sourcemod>

new 2;
new 
CT 3;

public 
OnPluginStart()
{
    
HookEvent("player_spawn"event_player_spawn);
}
public 
Action:event_player_spawn(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
client GetClientOfUserId(GetEventInt(event"userid"));
    if(
GetClientTeam(client) != CT)
    {
        
ChangeClientTeam(clientT);
    }
    return 
Plugin_Continue;

ReFlexPoison is offline
694372459
Member
Join Date: Aug 2012
Old 08-07-2012 , 05:25   Re: (CS:S)Who help me make a plugin T.T
Reply With Quote #3

Thank you !!!!
694372459 is offline
694372459
Member
Join Date: Aug 2012
Old 08-07-2012 , 05:29   Re: (CS:S)Who help me make a plugin T.T
Reply With Quote #4

ugh.it cant use....
694372459 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-07-2012 , 07:47   Re: (CS:S)Who help me make a plugin T.T
Reply With Quote #5

mp_humanteam ct
Mitchell 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 09:58.


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