SynMask
A metadata mask Item correct images.
Plug and play installation with 1400 masks in a single item.
Support for incorrect slot order: just customize specific mask in the Config as seen below.
Supported Inventories
- mf-inventory
- qs-inventory
- qb-inventory
Default Supported Skin Options
- Standalone “To use Native Fivem components”
- esx_skin
- fivem-appearance Wasabi’s fork
Config.lua
---$$$$$$\ $$\ $$\ $$\ $$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$$$\ $$$$$$\
--$$ __$$\\$$\ $$ |$$$\ $$ |$$ __$$\ $$ __$$\ $$ __$$\ \_$$ _|$$ __$$\\__$$ __|$$ __$$\
--$$ / \__|\$$\ $$ / $$$$\ $$ |$$ / \__|$$ / \__|$$ | $$ | $$ | $$ | $$ | $$ | $$ / \__|
--\$$$$$$\ \$$$$ / $$ $$\$$ |\$$$$$$\ $$ | $$$$$$$ | $$ | $$$$$$$ | $$ | \$$$$$$\
---\____$$\ \$$ / $$ \$$$$ | \____$$\ $$ | $$ __$$< $$ | $$ ____/ $$ | \____$$\
--$$\ $$ | $$ | $$ |\$$$ |$$\ $$ |$$ | $$\ $$ | $$ | $$ | $$ | $$ | $$\ $$ |
--\$$$$$$ | $$ | $$ | \$$ |\$$$$$$ |\$$$$$$ |$$ | $$ |$$$$$$\ $$ | $$ | \$$$$$$ |
---\______/ \__| \__| \__| \______/ \______/ \__| \__|\______|\__| \__| \______/
Config = {}
Config.Debug = true
Config.CharScript = false -- false or "esx_skin" or "fivem-appearance" -- Fivem appearance support for WASABI FORK ONLY https://github.com/WasabiRobby/fivem-appearance -- False For Components standalone
Config.Maskitem = 'mask' -- item
Config.MaskBoxitem = 'maskbox'
Config.Framwork = 'ESX' -- 'ESX' or "QBCore"
Config.ESX_Export = true -- use the new ESX Export or the old Trigger Event
Config.Inventory = 'qs' -- 'mf' 'qs' 'qb'
Config.HideHairAll = true
Config["Masks"] = { -- these are custome options
--[[ ["masks_1_0"] = {
drawableId = 1, -- Custom Mask Drawable Will ignore the mask name in meta information
textureId = 0, -- Custom Mask Texture Will ignore the mask name in meta information
CustomeID = false, -- If you want the custom drawable and texture set this to true, For use when you want to rely on meta information for mask drawable but have custom hair aswell
SetHair = false, -- Toggle to enable the below custom hair drawables
SetHair_DrawableId = 0, -- Custom Hair Drawable Will ignore the mask name in meta information
SetHair_textureId = 1, -- Custom Hair Texture Will ignore the mask name in meta information
}, ]]
["masks_106_24"] = {
drawableId = 1, -- Custom Mask Drawable Will ignore the mask name in meta information
textureId = 0, -- Custom Mask Texture Will ignore the mask name in meta information
CustomeID = false, -- If you want the custom drawable and texture set this to true, For use when you want to rely on meta information for mask drawable but have custom hair aswell
SetHair = true, -- Toggle to enable the below custom hair drawables
SetHair_DrawableId = 0, -- Custom Hair Drawable Will ignore the mask name in meta information
SetHair_textureId = 1, -- Custom Hair Texture Will ignore the mask name in meta information
},
}
Dependencies – support for people trying to adapt this will be minimal
GTAV Mask images – the mask images
Commands --Available in Debug Mode
Events:
TriggerServerEvent(“SynMask:SpecificMask” ,“masks_1_0”)
TriggerServerEvent(“SynMask:SpecificMask”,"Name Of Mask you want to give the Source client. EXAMPLE: “masks_1_0” ") – GiveSourcePlayer A specific mask
TriggerServerEvent(“SynMask:RandomMask”) – GiveSourcePlayer A Random mask
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | 100 |
Requirements | none |
Support | Yes |