LogoMonarch Development

Monarch Fuel

Optimized fuel script

Monarch Fuel is the union of cdn-fuel and some optimized parts of ox_fuel plus some improvements made by Monarch Development, the aim of the project is to offer the community a fuel system as feature-rich as cdn-fuel without sacrificing optimization and lean code like ox_fuel.

GitHubMonarch-Development/mnr_fuel

10

Features

  • Menu and zones from ox_lib
  • Statebags for fuel level
  • Nozzle and rope for fuel pumps
  • Jerrycans integration for ox_inventory and qb-inventory

Resources Size Comparison with Competitors (Uncompressed)

RESOURCESIZE
ox_fuel82 KB
mnr_fuel (OUR)435 KB
cdn-fuel7,75 MB
lc_fuel9,28 MB

Performance

SITUATIONCPU msecTimeCPU (inclusive)MemoryStreaming
Average0.00 ms0.65%0.00 ms~ 690 KiB+-
Max0.02 ms10.50%0.02 ms~ 930 KiB+-

ATTENTION

These values are purely indicative, performance tested with:

  • CPU: AMD Ryzen 5 5600X
  • MOBO: Asus Rog Strix B550 E-Gaming
  • RAM: Crucial Ballistix 2x8GB CL16 3600MHz
  • SSD: Samsung 970 EVO+ 1TB
  • VGA: Sapphire AMD RX6600XT Nitro+