Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.math.sharedRandom

S๐Ÿท๏ธ Math

Part of StarfallEx namespace

๐Ÿ”— External
math.sharedRandom(uniqueName, Min, Max, additionalSeed)
View on GitHub|lua/starfall/libs_sh/math.lua:439
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Generates a random float value that should be the same on client and server

Parameters

NameTypeDescription
uniqueNamestringThe seed for the random value
MinnumberThe minimum value of the random range
MaxnumberThe maximum value of the random range
additionalSeed?numberThe additional seed. Default 0

Returns

TypeDescription
numberThe random float value

Examples

No examples available.

Used In

No usages found in the codebase.