ngd-whitewidow
A two-story enterable White Widow dispensary MLO for FiveM!
NGD-WHITEWIDOW
Installation Steps
-
Install ngd-whitewidow Place
ngd-whitewidowinto your resources folder andensure ngd-whitewidowin yourserver.cfg. It is a standalone map resource with no dependencies. Restart the whole server after adding or updating it. -
Clear Your Cache (Optional) If the interior or textures look wrong after an update, stop the server and delete the
cache/files/ngd-whitewidowfolder in your server data, then start it again.
Door Locks (Click to Expand)
The shop has three moving leaves: the front pair and the garage door. Register them by model and coordinates, and never register every instance of a model.
| Door | Model | Coordinates | Heading |
|---|---|---|---|
| Front, left leaf | ngd_whitewidow_door_l | -1313.4056, -635.1466, 27.3872 | 303.0 |
| Front, right leaf | ngd_whitewidow_door_r | -1312.3054, -636.8407, 27.3872 | 303.0 |
| Garage | ngd_whitewidow_garage_door | -1305.5704, -616.4373, 27.9598 | 123.0 |
The front pair is one double door, so register both leaves together. The interior doors have no locks and do not need registering.
ox_doorlock (Click to Expand)
Run this once in your database, and change groups to the job that owns the shop:
INSERT INTO `ox_doorlock` (`name`, `data`) VALUES
('whitewidow_front', '{"coords":{"x":-1312.8555,"y":-635.9937,"z":27.3872},"doors":[{"coords":{"x":-1313.4056,"y":-635.1466,"z":27.3872},"model":1685392837,"heading":303.0},{"coords":{"x":-1312.3054,"y":-636.8407,"z":27.3872},"model":610242407,"heading":303.0}],"groups":{"police":0},"maxDistance":2.5,"state":1,"hideUi":false}'),
('whitewidow_garage', '{"coords":{"x":-1305.5704,"y":-616.4373,"z":27.9598},"model":-2057652822,"heading":123.0,"auto":true,"groups":{"police":0},"maxDistance":6.0,"state":1,"hideUi":false}');
state 1 is locked and 0 is unlocked.
Customizing the Art (Click to Expand)
All of the art lives in the texture dictionaries inside the stream folder. Open them in CodeWalker or OpenIV, replace the texture of the same name, and keep the same size and format (DXT1 with the mip chain, power of two).
| File | Texture | What it is |
|---|---|---|
ngd_whitewidow_screens_txd.ytd | ngd_whitewidow_scr_pack_d | The upstairs pack-station monitors and the service packing-counter tablet |
ngd_whitewidow_scr_inventory_d | The back-of-house desk monitor and the upstairs QA bench monitor | |
ngd_whitewidow_scr_pos_d | The POS tablets on the sales counter and the coffee bar | |
ngd_whitewidow_scr_idle_d | One upstairs pack-station monitor (idle desktop) | |
ngd_whitewidow_scr_checkin_d | The concierge tablet | |
ngd_whitewidow_tv_txd.ytd | ngd_whitewidow_tv_screen_d | The employee lounge TV logo |
ngd_whitewidow_glassart.ytd | ngd_whitewidow_glassart_d | The leaf art on the arched street windows |
ngd_whitewidow_doors_txd.ytd | ngd_whitewidow_door_l_2_d | The front door glass with its frosted band |
Compatibility Fixes
If White Widow clashes with another map resource, the fix goes here.
Fiv3Devs (Bahama Mamas) (Click to Expand)
Fiv3Devs' fiv3devs_mapdata and ngd-whitewidow both ship a file named hei_sm_occl_03.ymap. When two resources ship the same file, whichever one loads last wins, and the other one is silently ignored. The vanilla version of this file contains a hidden box that makes the White Widow interior disappear when you look at it from the street, so we ship a version with that box removed. Fiv3Devs' copy still has the box.
The fix is a single merged file that has both their changes and ours.
-
Download the fix fiv3devsbahama-ngdwhitewidow.zip and unzip it. It contains one file,
hei_sm_occl_03.ymap. -
Replace the file in White Widow Put it in
ngd-whitewidow/stream/and overwrite the existinghei_sm_occl_03.ymap. -
Delete it from Fiv3Devs Delete
hei_sm_occl_03.ymapfromfiv3devs_mapdata/stream/, so only one copy is left. -
Restart the server