MajiSP / qb-towrequest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple tow request script using qb-target | renewed qb-phone

qb-target:

Renewed QB-Phone:

INSTALLATION

PLACE THIS INSIDE YOUR qb-target/init.lua >

Config.TargetBones = {
	["requestTow"] = {
        bones = {
            "seat_dside_f",
        },
        options = {
            {
                type = "client",
                event = "tow:requestTow",
                icon = "fas fa-truck",
                label = "Request Tow",
            },
        },
        distance = 4.0
    },
}

Make sure your qb-core/shared/jobs.lua has a job named "tow". ======================================-

That's it. Just ensure it inside your server.cfg and play!

About


Languages

Language:Lua 100.0%