[QB] Radargun (Police laser gun)

QB Radargun
A radargun with model to be used to scan cars for their speed.

Included in the package is the model and a guide to install it to your qb-core server.
In the config file you can customize at what interval the radar scans, and how many hits it needs for a successful scan.

Showcase
Buy it here

Code is accessible No
Subscription-based No
Lines (approximately) 1000
Requirements qb-core, qb-inventory, interact-sound
Support Yes
1 Like

why its saying nan while scanning

When hitting nothing or when scanning a vehicle’s speed, it says NaN due to no speed registered yet.
It is not a bug :slight_smile:

change the nan at least to something else or its not showing
looks unprofessional when you look at it as a player

but still a very good resource

It’s poor coding.

Try an or statement
image

It’s an easy fix yes - and it’s standard JavaScript.
I didn’t see an issue with it, but with the feedback I will be changing it ASAP :slight_smile: