Raised This Month: $ Target: $400
 0% 

Random CT die


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Tonda
Senior Member
Join Date: Aug 2009
Old 11-20-2010 , 19:14   Random CT die
Reply With Quote #1

Hi i have script:

Code:
public ct()
 {
	static players[32], pnum;
	get_players(players, pnum, "ae", "CT");
	if(pnum>0)
	random_ct(players[ random(pnum) ]);
	
 }
and

Code:
public random_ct(id){
user_silentkill(id); 
}
If i set command to say /kill - random CT will be dead. But if i set task, all players on the server are dead (CT and T) ...
Why ? I need only one CT die.

Last edited by Tonda; 11-20-2010 at 19:53.
Tonda is offline
 


Thread Tools
Display Modes

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


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