Thread: Lottery NPC
View Single Post
  #18  
Old 08-21-2011, 05:26 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by 0PiX0 View Post
Also, I believe there is a rediculously slight chance that

will return null in the case that the random function returned the maximum possibility. However, I might be wrong about that.
You are. random(min, max) returns a number between the specified minimum and maximum, not equaling the maximum (the minimum can be equalled in rare circumstances).
__________________

Last edited by cbk1994; 08-21-2011 at 05:39 AM..
Reply With Quote