⚙️Stealable Settings
Discover all the settings incorporated dynamically into every store.
shelves
:This is an array of shelf objects that players can steal items from.
Each shelf object has the following properties:
name
: The name of the shelf.blipID
: The ID of the blip (map icon) representing the shelf.message
: The message displayed to the player when near the shelf, prompting them to steal items.messageDistance
: The distance from the shelf at which the message is displayed.messageButton
: The button the player needs to press to initiate the stealing action (default is 'E').location
: The position of the shelf as avec4
(X, Y, Z coordinates and heading).getCaughtChanceMultiplier
: A multiplier that affects the chance of getting caught while stealing from this shelf.items
: An array of items that can be stolen from the shelf, each with aname
,min
(minimum quantity), andmax
(maximum quantity).
register
:This is an array of cash register objects that players can break into.
Each register object has the following properties:
main
: Indicates if the register is the main register of the store (true) or a secondary register (false).name
: The name of the register.blipID
: The ID of the blip representing the register.message
: The message displayed to the player when near the register, prompting them to break into it.messageRobbed
: The message displayed after the register has been robbed.messageDistance
: The distance from the register at which the message is displayed.messageButton
: The button the player needs to press to initiate the breaking action.location
: The position of the register as avec4
.money
: The range of money (min
andmax
) that can be stolen from the register.
safe
:This object represents the store's safe that players can break into.
The safe object has the following properties:
message
: The message displayed to the player when near the safe, prompting them to break into it.blipID
: The ID of the blip representing the safe.messageRobbed
: The message displayed after the safe has been robbed.messageButton
: The button the player needs to press to initiate the breaking action.messageDistance
: The distance from the safe at which the message is displayed.type
: The type of safe (e.g., "keypad").location
: The position of the safe as avec4
.items
: An array of items that can be stolen from the safe, each with aname
,min
, andmax
quantity.money
: The range of money (min
andmax
) that can be stolen from the safe.
Last updated
Was this helpful?