Raised This Month: $ Target: $400
 0% 

Only one Terrorist


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sputnik53
Senior Member
Join Date: Jun 2005
Old 10-21-2007 , 12:55   Re: Only one Terrorist
Reply With Quote #7

What is wrong with this code? It doesn't do anything. :S
Code:
register_event("TeamInfo","event_team_info","a")
Code:
public event_team_info() {     new id = read_data(1)     new model     new smodel     new team[12]     read_data(2,team,sizeof team-1)     new players[32], iT_num     get_players(players, iT_num, "e", "TERRORIST")     switch(team[0]) {         case 'T' : {             if(iT_num > 1) {                 if(equali(mod_name,"cstrike")) {                     model = random_num(1,4)                 } else {                     model = random_num(1,5)                 }                 if(model == 1) smodel = 1 //CS_CT_URBAN                 if(model == 2) smodel = 5 //CS_CT_GSG9                 if(model == 3) smodel = 6 //CS_CT_GIGN                 if(model == 4) smodel = 7 //CS_CT_SAS                 if(model == 5) smodel = 11 //CZ_CT_SPETSNAZ                 cs_set_user_team(id,CS_TEAM_CT,smodel)             }             }         case 'C' : {             if(iT_num == 0) {                 cs_set_user_team(id,CS_TEAM_T,CS_T_LEET)             }         }     }     return PLUGIN_HANDLED }
Sputnik53 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 01:19.


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