v2.0.32 menor
VIP shops, a payment account per shop, and blacklists that read job grades
7cambios

VIP shops, a payment account per shop, and blacklists that read job grades
7cambios

[02] Versión
A shop can now be locked behind a role you create and hand out, and each shop can charge to cash, to bank, or let the player choose at checkout. Roles are managed from a new VIP Roles tab in the creator and live in the database, so they survive restarts; deleting a role reopens the shops that required it instead of leaving them unreachable. Clothing blacklists also read job grades now, so a uniform can be limited to sergeants and above rather than the whole force. Plus a fix for vest photos, which were shot over a base outfit that showed underneath every one of them.
qs_appearance_vip_role_list and qs_appearance_vip_roles. There is no SQL to import and no migration to run.config/main.lua gained a Config.MoneyTypes block (cash and bank) and config/blacklist.lua gained comments showing the new grade syntax. Keep your own files; copy those in only if you want to edit them.Roles are managed in the creator, under VIP Roles. Create a role, give it to an online player, then pick it in a shop's Access & Payment settings. A shop with no role set stays open to everyone, which is how every shipped shop starts — nothing closes behind your back after this update.
Deleting a role is safe. Every player holding it loses it, and the shops that required it open to everyone again rather than becoming unreachable.
The access check runs on the server as well as in the interface, so a player without the role is refused even if the call is forged.
Replace every file in the resource, except what you edited yourself:
config/ — main.lua and blacklist.lua changed. If you edited them, copy in the new Config.MoneyTypes block and the new blacklist comments rather than overwriting your file.locales/ — all 41 languages changed. Re-apply any translation you edited.client/, server/, game/, web/ — replace them.sql/schema.sql and fxmanifest.lua — replace them.A shop can require a role you created. Players without it get no target option and no prompt when they walk into the zone, and the server refuses the shop even if the call is forged. A shop with no role set is open to everyone.
Each shop charges to cash, to bank, or lets the player pick at checkout, set in the shop's Access & Payment settings. The accounts on offer come from the new Config.MoneyTypes block.
A new tab in the creator. Create and delete roles, see how many players and how many shops use each one, give a role to an online player and take it back from anyone who has it, online or not. Roles are stored in the database, so they survive a restart.
A jobs entry in config/blacklist.lua used to be a job name, which let every grade through. It now also takes { name = 'police', grades = { 2, 3 } } for specific grades, or { name = 'police', minGrade = 2 } for that grade and above. A plain name still means every grade. Applies to components, props and hair.
exports['qs-appearance']:GiveShopRole(target, role) gives a player a shop role from your own script, for a donation handler or a VIP system you already run.
Deleting a role clears it from every shop that required it, so those shops open to everyone instead of becoming unreachable. Every player holding the role loses it at the same time.
Vests were photographed over a base outfit that showed underneath every one of them: a bare grey torso on the male ped, a white bikini top on the female. They are now shot on the neutral capture base, like tops and undershirts, so the vest is shown alone.