What does this script do?
What does this script do?
It provides secure usable items for a gas mask (toxic/smoke entity proofs plus mask clothing) and night vision goggles (prop plus night vision / thermal toggle). These items are used by Project X crime scripts and can be used standalone.
What frameworks and inventories are supported?
What frameworks and inventories are supported?
Frameworks: qb-core, qbox, ESX, or custom.Inventories: ox, qs, qb, codem, esx, lj, or ps.Notifications: ox, qb, or esx.You also need ox_lib as a dependency.
What happens if I am already wearing a mask?
What happens if I am already wearing a mask?
Using the item again shows the already-wearing message (
WearingMaskMessage in config). Remove the current mask or goggles with /removegasmask or /removenightvision first.Why can't I remove night vision goggles?
Why can't I remove night vision goggles?
You must turn night vision and thermal vision off first with
/togglenightvision or /togglethermalvision, then run /removenightvision.The clothing / model looks wrong on my ped
The clothing / model looks wrong on my ped
Drawable IDs differ between clothing packs. Update
GasMask.Clothing, GasMask.Variation, and NightVisionGoggles.Clothing in config.lua to match your pack.Is Project X Bridge required?
Is Project X Bridge required?
No. Masks uses its own
config.lua for framework, inventory, and notifications. Bridge is not required.Where can I get free support?
Where can I get free support?
Join the Project X Discord and ask in the #Free-Support channel.
