[Standalone] Hit Marker

**

Sinor Hit Marker**

A simple standalone script that displays damage numbers above damaged players, NPCs, and vehicles.

Features

- Body, headshot, and critical-hit colors

- Numbers positioned near the damaged entity

- Maximum display distance

- Configurable size, duration, movement, and colors

- fully standalone

Config

Config = {}


Config.Enabled = true              -- Enable/Disable the system
Config.Debug = false               -- Print debug messages

Config.DamageNumbers = {
    Enabled = true,                -- Show damage numbers
    Duration = 1000,               -- How long numbers stay visible in ms
    FloatSpeed = 80,               -- How fast numbers float up
    RandomSpread = 0.015,          -- Random screen-space offset for numbers
    FontSize = 0.5,                -- Text size (0.0 - 1.0)
    FadeOut = true,                -- Fade out at the end
    MaxDistance = 60.0,            -- Maximum distance for showing numbers
    UseHeadBone = true,            -- Attach numbers near the head when possible
    PedOffset = 0.2,               -- Extra vertical offset for peds
    VehicleOffset = 1.2,           -- Extra vertical offset for vehicles
}

Config.Detection = {
    CheckInterval = 100,           -- How often to check health in ms
    HeadshotMultiplier = 2.0,      -- Multiplier for headshots
    CriticalThreshold = 50,        -- Damage above this is critical
}

-- Color Settings {r, g, b, a}
Config.Colors = {
    Body = {255, 255, 255, 255},   -- White for body shots
    Headshot = {255, 0, 0, 255},   -- Red for headshots
    Critical = {255, 200, 0, 255}, -- Gold for critical hits
    Vehicle = {255, 150, 0, 255},  -- Orange for vehicle damage
}




Preview :

Tebex :

https://sinorsystem.tebex.io/package/7563548

other resources

QBCore/ESX|BaseBuilding
Standalone|AdvancedZombieSystem
Standalone|SurvivalHUD
Standalone|VehicleSpawne
QBCore/ESX|UsableItems
QBCore/ESX|VehicleCrafting
QBCore/ESX|Recycler
QBCore/ESX|Gather
Standalone|SafeZone
QBCore/ESX|LootAreas
QBCore/ESX|LootPeds
QBCore/ESX|RadiationZones
Standalone|ZombieSystem
QBCore|Shop
QBCore|WeatherSync
QBCore/ESX|InGameMusic
QBCore/ESX|CamperHousing
QBCore/ESX|LootBags
Vehicles|ApocalypticVehicles-V1
QBCore/ESX|HorseRiding
QBCore/ESX|Menu
QBCore/ESX|CarriagesSystem
QBCore/ESX|DayzHud
QBCore/ESX|BaseDefance

Code is accessible Yes
Subscription-based No
Lines (approximately) 230
Requirements FiveM
Support Yes
2 Likes

Looks like a good option for servers that want a cleaner hit marker system

1 Like
1 Like

And better performance too

It’s great to have multiple options for the same idea :heart: