Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mt_rand alternative

Comments in 'Plugin Development' started by Muqsit, Feb 12, 2016.

Thread Status:
Not open for further replies.
  1. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    Is there any alternatives to mt_rand since it limits patamaters to 2. I need to add 16 parameters :3
  2. Vaivez66
    Offline

    Vaivez66 Notable Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    402
    Plugins:
    2
    What do you mean by '16 parameters'?
  3. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    What would be the point of 16 parameters? Explain what you are trying to do.
  4. Vaivez66
    Offline

    Vaivez66 Notable Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    402
    Plugins:
    2
    I was sayin' that -_-
  5. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    if you do mt_rand(2, 6); it'll shows a random number from 2 to 6 (2 3 4 5 6) not just 2 and 6.
    Muqsit likes this.
  6. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    No one got hurt by me asking. But you are free to call the cops.
    Muqsit likes this.
  7. Vaivez66
    Offline

    Vaivez66 Notable Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    402
    Plugins:
    2
    Don't take it serious, man...
Thread Status:
Not open for further replies.

Share This Page

Advertisement