natives.GENERATE RANDOM INT IN RANGE: Difference between revisions

Add ScriptItem documentation from GTA VC SCM decompile
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 4: Line 4:
|type = function
|type = function
|name = natives.GENERATE_RANDOM_INT_IN_RANGE
|name = natives.GENERATE_RANDOM_INT_IN_RANGE
|parameters = int ped, int value, int value2
|parameters = int min, int max
|parameter1 = int ped Target character in the game world.
|parameter1 = int min Minimum corner of the area.
|parameter2 = int value Numeric parameter.
|parameter2 = int max Maximum corner of the area.
|parameter3 = int value2 A value2 value.
|usage = generates a random integer between two values
|usage = process the random int in range request.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
1,615

edits