Raised This Month: $ Target: $400
 0% 

Get random player?


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Hx7r
Member
Join Date: Mar 2009
Old 05-20-2010 , 13:08   Re: Get random player?
#1

try


Code:
new g_MaxPlayers ; new bool:g_isVip[33]; public plugin_init() {     register_logevent("eRound_Start", 2, "1=Round_Start");     g_MaxPlayers = get_maxplayers(); } public eRound_Start(){     for(new i = 1; i <= g_MaxPlayers; i++)     g_isVip[i] = false;         g_isVip[random_num( 1, g_MaxPlayers)] = true; }

Last edited by Hx7r; 05-20-2010 at 13:51.
Hx7r is offline
Closed Thread



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 03:39.


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