[Q.?] random_num
PHP Code:
:arrow:menu_handler(id, menu, random_num(0, 3)) is this correct? :arrow:or it should be menu_handler(id, menu, random_num(1, 4))? :arrow:or it should be menu_handler(id, menu, random_num(1, 2, 3, 4))? Which one is correct? I am confused! :?: |
Re: [Q.?] random_num
What are you trying to do? Explain bether.
|
Re: [Q.?] random_num
I what to set case 5 as random case selector which select random case from 1 to 4.
|
Re: [Q.?] random_num
Do it easier for yourself,
at case 5 add this: PHP Code:
|
Re: [Q.?] random_num
menu_handler(id, menu, random_num(1, 4)) is correct!
I did not make it simple, bcos i want to make custom choose menu for public from case 1 to case 4. By the way ThnxLarcyn |
Re: [Q.?] random_num
Oh, I even misunderstood you, lol.
|
Re: [Q.?] random_num
Ohh really? :)
Code:
Q.I just want to know which one is correct syntax?Indirectly you give me answer which is menu_handler(id, menu, random_num(1, 4)) Thnx :wink: |
Re: [Q.?] random_num
You can go to : http://www.amxmodx.org/funcwiki.php?go=func&id=286
Good luck. |
Re: [Q.?] random_num
Quote:
You will have errors because you are destroy the same menu twice. You should do this: PHP Code:
|
Re: [Q.?] random_num
PHP Code:
|
| All times are GMT -4. The time now is 00:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.