Skip to contentLD ScriptsVisit store (opens in a new tab)

Free scripts

Small, open-source FiveM resources. Free to use and change on your server.

Source code and releases are on GitHub under the MIT license. Questions or ideas: open an issue, or ask in the LD Scripts Discord.

LD TimeDisplay

A real-life clock on screen.

Shows the time and date in your server's time zone or each player's own, with your own layout: server name, player name and ID, players online, the in-game time and more.

Standalone, works with any framework. MIT license.

  • Your own layout

    Placeholders for time, date, weekday, server, player, ID, player count and in-game time, one line each.

  • Server time or player time

    Everyone sees the server's time zone (synced on join), or every player sees their own local time.

  • 4 themes, 6 positions

    Shadow, plain, pill and glass, with your own size, colours and font. Day and month names in any language.

  • Out of the way

    Hides in the pause menu and when the HUD is hidden. Players can turn it off with /clock.

  • LD TimeDisplay, shadow theme: Monday 9 November · 19:30, and below it Luca (12) · 87/128.

    shadow

  • LD TimeDisplay, glass theme: Monday 9 November · 19:30, and below it Luca (12) · 87/128.

    glass

  • LD TimeDisplay, pill theme: Monday 9 November · 19:30, and below it Luca (12) · 87/128.

    pill

  • LD TimeDisplay, plain theme: Monday 9 November · 19:30, and below it Luca (12) · 87/128.

    plain

The four themes, rendered by the script's own interface code. The background stands in for the game.
server.cfg
ensure ld_timedisplay

LD CarWipe

Automatic vehicle cleanup, with warnings.

Removes abandoned vehicles on a schedule, warns players first, and never touches a vehicle someone is sitting in. Server-side only.

ESX, QBCore, Qbox or no framework. MIT license.

  • Schedule your way

    Every X minutes, at fixed times, or both. Warnings go through the notifications your server already uses.

  • Safe by design

    A vehicle with a player in any seat is never removed, and every vehicle is checked again right before removal.

  • Smart filters

    Keep player-owned, locked or nearby vehicles, NPC traffic, protected models, vehicle types and zones.

  • Plays nice with txAdmin

    An automatic wipe right before a scheduled restart is skipped. Removal is spread out, so no hitches.

server console or in-game, with the command.carwipe ACE
carwipe            start a wipe with a 60 s countdown
carwipe <seconds>  start a wipe with your own countdown
carwipe now        wipe right away
carwipe cancel     cancel the running countdown
carwipe preview    count what would be removed, remove nothing
carwipe status     next automatic wipe and the last result
server.cfg
ensure ld_carwipe
add_ace group.admin command.carwipe allow

LD CarWhitelist

Lock vehicles to jobs or permissions.

Lock police cars, ambulances or any vehicle to jobs or permissions. Players without access are stopped before the door opens, and the server checks again.

ESX, QBCore, Qbox, or standalone with ACE. MIT license.

  • Groups with their own access

    By job and minimum grade, optionally only while on duty, or by ACE permission.

  • Driver seat only, by default

    Passengers can still get in, like someone under arrest in the back. Per group you can lock every seat.

  • Enforced by the server too

    Players put into a vehicle by a script or a cheat are removed, but never from a moving vehicle.

  • Exceptions where you need them

    A staff bypass ACE, and a server export for test drives or other scripts. Optional Discord log.

config.lua (shortened)
Config.Groups = {
    {
        label = 'Police',
        models = { 'police', 'police2', 'sheriff', 'fbi', 'polmav' },
        jobs = { police = 0, sheriff = 0 },  -- job = minimum grade
        ace = 'ldcw.police',
        onDuty = false,
        seats = 'driver',                    -- or 'all'
    },
    {
        label = 'EMS',
        models = { 'ambulance', 'lguard' },
        jobs = { ambulance = 0, ems = 0 },
    },
}
server.cfg
ensure ld_carwhitelist
add_ace group.admin ldcw.bypass allow

Running a bigger server?

LD Queue keeps your queue fair through restarts. LD Refunds lets staff hand out refunds from Discord.