get players, then select
Well.. I need to have it so it gets all the players in servers. then randomly selects someone.
Help? Like heres what i need. I need it so when you talk to one of my npc's itll randomly select someone in the server and display it in a client_print. |
Code:
Note: only use one of the get_players() listed above, and there are more possibilites, like specific teams and stuff.. look up the function in amxmodx.inc :D |
or random_num(0,32), since a player index is 0-32.
|
:oops: Ahh.. i forgot the random part!! :p lol
Thx Mel, i slipped up!! :P Instead of: Code:
|
Thought you were missing that.. :roll:
|
| All times are GMT -4. The time now is 09:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.