Djinni Wiki
Advertisement

function Random (int nMaxInteger)

Get an integer between 0 and nMaxInteger-1.

  • Return value on error: 0
  • Return type: int
  • Include file: nwscriptdefn
Advertisement