Random_num in no specific index forward
Hello, I am trying to pick 1 single client/player to be chosen and get his name and print to the server like "%s name has been chosen!"
PHP Code:
EDIT : I think I should remove the loop? |
Re: Random_num in no specific index forward
Test this one:
PHP Code:
|
Re: Random_num in no specific index forward
new id = random_num( 1, sizeof(example) )
for( new id = 1; What do you say about that? Also, better to use get_players. |
| All times are GMT -4. The time now is 20:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.