[Solved]Random doesn't work
Debug...
Code:
L 07/10/2010 - 08:47:20: [CSTRIKE] Player out of range (0)PHP Code:
PHP Code:
|
Re: Random doesn't work
cs_set_user_team(random_num(1,Player),cs_get_ user_team(Index))
|
Re: Random doesn't work
Doesn't present any error,but choice more than 1 player
|
Re: Random doesn't work
Your RandomPlayer function is wrong. Backstabnoob please do not try to help people if you don't know what you're doing yourself.
Try this, untested PHP Code:
|
Re: Random doesn't work
Quote:
|
Re: Random doesn't work
I realized this after posting, try the edited code.
|
Re: Random doesn't work
Works,Thanks :)
|
| All times are GMT -4. The time now is 07:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.