Raised This Month: $ Target: $400
 0% 

Randomize teams


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Brreaker
Senior Member
Join Date: Oct 2009
Location: Constanta, Romania
Old 03-16-2010 , 16:12   Re: Randomize teams
Reply With Quote #2

register_clcmd("amx_random", "pRandom", ADMIN_KICK, "Random player teams")

public pRandom(id) {
new iRandomNum = random_num(0, 1)
switch(iRandomNum) {
case 0: cs_set_user_team(id, CS_TEAM_T)
case 1: cs_set_user_team(id, CS_TEAM_CT)
}

Just a suggestion
Brreaker is offline
Send a message via MSN to Brreaker Send a message via Yahoo to Brreaker
 



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 08:38.


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