Ground detector ​
A separate feature that shares the metal model: a hand-held ground detector for treasure hunting on the beach and in the fields, with a digging minigame, a collection journal and a buyer. On-duty police use the same detector to find shell casings and dropped weapons.

Equipping ​
Use the ground_detector item or press F7. The server checks that you carry the item, are not downed and, when
Config.Ground.requirePermit is on, hold a valid detecting permit (np_identification; police are exempt). The detector
appears in your hands with a carry pose and the HUD opens. Getting into a vehicle, ragdolling or dying puts it away. Press
F7 again to put it away.
Sweeping ​
Walk slowly. About 0.85 m in front of you the coil is read every 350 ms. The server owns the hidden finds (they live
only in its memory) and answers only with the strongest signal within scanRadius (1.2 m) of the coil:
- Signal from 0 to 100 grows as the coil gets closer to a find. No signal means nothing within reach.
- Target ID and depth. Each find has a conductivity id and a depth in centimetres. The id places it on the discrimination scale: below 15 iron, 15 to 29 foil, 30 to 44 nickel, 45 to 59 gold, 60 to 69 zinc, 70 and above silver and copper. The tone changes by family.
- Discrimination.
1mutes iron,2mutes foil, so a beach full of pull tabs stays quiet. - Pinpoint.
Qdraws a marker on the ground under the coil while there is a signal. - Areas. Finds only exist in the configured areas (Vespucci, Del Perro, Paleto, Sandy, Chumash, Alamo). Outside them
a civilian reads nothing; police can still find evidence anywhere. The areas refill up to their density every
respawn(30 minutes). A storm (server weather rain or thunder, fromGlobalState.weather,currentWeatheror the convarnp_scanner_weather) multiplies the density bystormBoost(1.5). np_environmental's multiplier near a live storm-debris scene (1.5) applies the same way; the larger of the two counts.
Digging ​
Press E on a signal. You need a trowel (police evidence needs none). A dig lasts digMs (6 s) and shows three
timing markers; press E as each one passes. The server checks the timing against its own clock (the client only
reports a tap):
- all three hit: quality 100;
- anything less: quality 50.
The find is worth price × quality / 100. If you cannot carry it the dig is cancelled; a beforeFind hook may veto. The
result is written to your journal and the item is added with { findId, quality, value, coords, time }. Digging
fires the find event.
Journal & buyer ​
- Journal (
J): every find of the character, with a counter againstcollectionGoal(60) such as 23 / 60 finds. - Buyer. Walk up to the buyer NPC (by default at Vespucci beach, an np_npchandler NPC with an interact option) and sell finds from your inventory. The price is derived from the server's own table and the item's quality, never from what the client asks: a pull tab sells for $2, an old coin $18, jewellery $85, a silver ring $240, a war medal $320, a gold nugget $600, a rare relic $900 (at quality 100).


| Find | Chance weight | Price |
|---|---|---|
| Pull tab | 26 | $2 |
| Bottle cap | 24 | $2 |
| Rusty nail | 18 | $1 |
| Aluminium foil | 16 | $1 |
| Old coin | 12 | $18 |
| Jewellery | 5 | $85 |
| Silver ring (1920s) | 2 | $240 |
| Old badge | 2 | $160 |
| War medal | 1 | $320 |
| Gold nugget | 1 | $600 |
| Rare relic | 0.25 | $900 |
Evidence for the police ​
On-duty police (job police) with the detector can also find evidence, which civilians never see:
- Shell casings. When someone fires a firearm the client reports a shot (at most once per
shotMs); the server reads the player's real position and weapon and leaves a casing marker forcasingTtl(30 minutes). - Dropped weapons. With np_inventory a weapon item dropped on the ground is marked for
weaponTtl(60 minutes). The hook for ox_inventory and qb-inventory drops is not wired. - A dig for evidence needs no trowel and always gives quality 100. It yields
evidence_casingorevidence_weaponand firesevidenceFound. At mostmaxPoints(300) evidence markers exist at a time. - Other resources add evidence or finds through the server only; nothing a client sends becomes evidence metadata.
Keys ​
| Key | Action |
|---|---|
F7 |
Equip or put away the detector |
Q |
Pinpoint |
1 / 2 |
Mute iron / foil |
E |
Dig, then tap on the three markers |
J |
Open the journal |
All are remappable in Settings → Key Bindings → FiveM.