Raised This Month: $ Target: $400
 0% 

Need Help with get_players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
eXist
Member
Join Date: Apr 2005
Old 04-18-2005 , 07:13   Need Help with get_players
Reply With Quote #1

The best way I can explain this is through example in my code.
Code:
get_players(players, playercount, "a")     player = players[random_num(0, playercount)]
As you can see, through this code, I've selected a random alive user and his user id is stored in the variable player. Now, my question is, how do I take that user id and get that users name from it?

Thanks for your help eXist.
eXist is offline
 



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 10:02.


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