Events & Exports
Last updated
Last updated
rm_decalv2:server:onDecalAdded
Key | Type | Description |
---|---|---|
rm_decalv2:server:onDecalRemoved
If the vehicle stickers are not properly placed after you have put your vehicle in and out of the garage, place this function under the vehicle creation event of your garage script.
initializeStickers
Example: qb_garages/server/main.lua
Key | Type | Description |
---|---|---|
source
number
Source of the person who created the decal
fileName
string
File name of the decal
posX
number
X coordinates of the place of decal
posY
number
Y coordinates of the place of decal
posZ
number
Z coordinates of the place of decal
plate
string
The number plate of the vehicle to which the sticker is affixed
source
number
Source of the person who created the decal
fileName
string
File name of the decal
posX
number
X coordinates of the place of decal
posY
number
Y coordinates of the place of decal
posZ
number
Z coordinates of the place of decal
plate
string
The number plate of the vehicle to which the sticker is affixed