How to get 1 player from X
Hi again. I am making a plugin, which makes server assign player classes for players (automatic). I have 6 classes, but normally server assigns only 5 of them. 6th is much better, and i need a code which chooses only 1 player from server and gives him 6th class.
Optional: When player with 6th class dies, other player gets 6th class. Examples: new g_Player_Class[33] g_Player_Class[id] = random_num(1, 5) if(g_Player_Class[id] == 1) ... |
Re: How to get 1 player from X
PHP Code:
|
Re: How to get 1 player from X
PHP Code:
|
Re: How to get 1 player from X
PHP Code:
|
Re: How to get 1 player from X
Quote:
|
Re: How to get 1 player from X
Quote:
|
Re: How to get 1 player from X
Quote:
|
Re: How to get 1 player from X
He was just making it simpler and condensed. It's the same as yours, but he just used the ? : operators. He wasn't trying to prove you wrong.
|
| All times are GMT -4. The time now is 03:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.