Raised This Month: $ Target: $400
 0% 

Two get_user_msgid("TeamInfo")


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 01-05-2009 , 08:47   Re: Two get_user_msgid("TeamInfo")
Reply With Quote #3

Dores I just thing that 2 codes worst working.
P.S.Your code working ,but buggy,I don't know how but sometimes terrorist's spawns in ct's spawn when switching,I don't say always ,but sometimes :/
And thanks for trying help,suggest ;)
And yes your code works but buggy :/
Dores I'm asking you and other people :}

And this code may cause those bugs for switching?
PHP Code:
///Here is the in the ct team can be max 4 ct's/// 
public message_teaminfo(msg_idmsg_dest){ 
     if (
msg_dest != MSG_ALL && msg_dest != MSG_BROADCAST) return; 
     new 
id get_msg_arg_int(1
     static 
team[2
     
get_msg_arg_string(2teamsizeof team 1
     if(
team[0] == 'U' || team[0] == 'S') return; 
     new 
cts ckrun_get_ct_num() 
     if(
cts >= 4){ 
     
cs_set_user_team(idCS_TEAM_TCS_DONTCHANGE
     
set_msg_arg_string(2"TERRORIST"
     } 
}
stock ckrun_get_ct_num(){ 
      new 
num 
      
for (1<= g_maxplayersi++){ 
      if (
is_user_connected(i) && get_user_team(i) == 2
      
num ++ 
      } 
      return 
num 


Last edited by xbatista; 01-05-2009 at 09:09.
xbatista is offline
Send a message via Skype™ to xbatista
 



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


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