Raised This Month: $ Target: $400
 0% 

How to get random player nick from team ct?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rift
New Member
Join Date: Jul 2008
Location: NL
Old 07-13-2008 , 20:09   How to get random player nick from team ct?
Reply With Quote #1

Hi
How to get random player nick from team ct?

Last edited by rift; 07-13-2008 at 21:42.
rift is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 07-13-2008 , 21:42   Re: How to get random player nick from team ct?
Reply With Quote #2

Code:
new players[32], num
get_players(players, num, "e", "CT")
if(num)
{
    new id = players[ num > 1 ? random(num) : 0 ]
    new name[32]
    get_user_name(id, name, 31)
    set_hudmessage()
    show_hudmessage()
}
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
rift
New Member
Join Date: Jul 2008
Location: NL
Old 07-13-2008 , 21:47   Re: How to get random player nick from team ct?
Reply With Quote #3

thanks it works +karma
rift is offline
Reply


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 05:31.


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