Please follow the instructions from readme and the docs closely
I do. The rep-talknpc is ensured first.
And thats literally all or?
Oooh i forgot to change the driver license
Hi Dear Can You Please Help Me I Want To Remove The Driver License Required For Rental Kindly Explain In Detail Which Which Line Should I Remove Please
For those of you who dont want to use the ‘rep-TalkNPC’ script.
Ive utilized lib box zones just replace this function in client.lua/line31 with this.
CreateThread(function()
for _, info in pairs(Config.Locations) do
blips[_] = AddBlipForCoord(info.coords.x, info.coords.y, info.coords.z)
SetBlipSprite(blips[_], info.blip.sprite)
SetBlipDisplay(blips[_], 4)
SetBlipScale(blips[_], 0.6)
SetBlipColour(blips[_], info.blip.colour)
SetBlipAsShortRange(blips[_], true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(info.blip.label)
EndTextCommandSetBlipName(blips[_])
lib.zones.box({
coords = vector3(info.coords.x, info.coords.y, info.coords.z+1),
size = vector3(2, 2, 2),
debug = true,
rotation = 45,
onEnter = function()
lib.showTextUI('[E] Open Rental')
end,
inside = function()
if not IsControlJustPressed(0, 38) then return end
currentRental = _
SetNuiFocus(true, true)
SendNUIMessage({
action = 'open',
data = {
vehicles = info.vehicles
}
})
end,
onExit = function()
lib.hideTextUI()
end
})
end
end)
Someone converted it to ESX?
check ya inbox on here lad
Support ESX and QBOX now
Hey is this script where a player can own the car rental or just NPC?