Events & Exports
Server Events
rm_decalv2:server:onDecalAdded
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
rm_decalv2:server:onDecalRemoved
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
Server Exports
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
Last updated