Rand($variable)

Forum Archive - from http://theuniversal.net
Locked
User avatar
morbydvisns
Posts: 1889
Joined: Sun Jan 30, 2005 12:51 am

Rand($variable)

Post by morbydvisns »

Software:Universal Client
Version Number:
________________________________________________________________________
Location
bongtopia
________________________________________________________________________
Description:
$mod = $playervar31 * 50
$chance = 75 - $mod
$find = Rand($chance)

$find always ends up as 0

also, if u do something simple like
$i = 12
$random = Rand($i)

$random will be 0 always.




________________________________________________________________________
Steps to Replicate:
^^
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

bump
Locked