Flight radar to track position, altitude, and speed of aircraft in a GTA FiveM Server. Not dependent on any framework. By default every player can use /radar command to open the radar screen and ESC to close it. Add integration with your favorite framework to make the radar an item, limit the command to a certain job, a target in the control tower, etc.
Data Blocks: Each radar target contains a data block, which shows the callsign of the aircraft, its altitude on the left, and its speed on the right. The altitude and speed are the same that QB displays to the pilot when in an aircraft. Custom speed formula displays the horizontal speed only (ground speed) so that aircraft aren’t shown to be moving while simply ascending.
Disable Transponder: pilots can turn on or off their transponder, which hides the callsign from radar operators while off.
Pilots can set their own callsign and squawk code via slash commands. Emergency squawk codes will cause a red “EM” tag to be above the datablock, identifying radar operators of an ongoing emergency. Callsigns default to vehicle plate if not set.
Customizable Radar Floor: Aircraft flying close to the ground can fly “below” the radar and therefore no target will appear to radar operators.
Radar updates synced between all players. So two or more radar operators will see the same radar screen at the same time and all aircraft will update at the same time.
UI and player inputs non-escrowed. Can even switch out the radar screen background to an image of your choosing in case you have a different map than the default.
|Code is accessible||UI & Player Input Only|