Raised This Month: $ Target: $400
 0% 

I need code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-13-2011 , 08:28   Re: I need code
Reply With Quote #5

PHP Code:
/* Script generated by Pawn Studio */

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>

#define PLUGIN    "New Plugin"
#define AUTHOR    "Unknown"
#define VERSION    "1.0"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
RegisterHam(Ham_Spawn,"player","playerSpawn");
}

public 
playerSpawn(id)
{    
    new 
CsTeams:team;
    
    
team cs_get_user_team(id);
    
    switch(
team)
    {
        case(
CS_TEAM_T):
        {
            
// Whatever
        
}
        case(
CS_TEAM_CT):
        {
            
// Something else
        
}
    }

DjOptimuS is offline
 



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:25.


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