Raised This Month: $ Target: $400
 0% 

[SOLVED] Team checking & random transfer players from one team to another


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
groofshark
Member
Join Date: Jul 2013
Old 07-30-2013 , 08:45   Re: Team checking & random transfer players from one team to another
Reply With Quote #1

Hmm that?
PHP Code:
public func(id)
{
    new 
Players[32], Num
    get_players
(PlayersNum"ae""TERRORIST")
        
    if( 
Num <= 10 )
    {
        new 
id
        id 
Players[random(Num)]
         
        
// is this method right? for transfer 3ts in ct team?
        
cs_set_user_team(idCS_TEAM_CT)
        
cs_set_user_team(idCS_TEAM_CT)
        
cs_set_user_team(idCS_TEAM_CT)
    }


Last edited by groofshark; 07-30-2013 at 08:49.
groofshark 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 15:54.


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