Raised This Month: $ Target: $400
 0% 

Online Players >=


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-24-2017 , 11:00   Re: Online Players >=
Reply With Quote #1

PHP Code:
new players[32], pnum;
get_players(playerspnum"a");

if(!
pnum) return;

new 
random_chosen_id players[random(pnum-1)]

// random_chosen_id  var is the player id whom chosen randomly.. 
already been made just search..
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 03-24-2017 at 16:32.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-04-2017 , 21:07   Re: Online Players >=
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
PHP Code:
new players[32], pnum;
get_players(playerspnum"a");

if(!
pnum) return;

new 
random_chosen_id players[random(pnum-1)]

// random_chosen_id  var is the player id whom chosen randomly.. 
already been made just search..
Sorry. Why I need add that -1 if the index of players already is 32?
__________________








CrazY. 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 17:47.


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