[QBCore/ESX/STANDALONE] Unicorn Lap Dance | qb-lapdance V1.2 [Free]

He gave me the coords but I haven’t had the time to update it since I worked on other projects, I will try to do my best to have an update ready as soon as possible!

Hey there, I find this mod to be really neat. Though I’m having a small issue and was wondering if you could assist in regard to this mod. The server setup is using QB core 1.0.0 and we are having an lua error trying to use this mod. It’s probably something simple (as I honestly am not skilled in lua at all).

But the error is [ script:qb-lapdance] SCRIPT ERROR: @qb-lapdance/server/main.lua:68: attempt to index a nil value (global ‘QBCore’)
[ script:qb-lapdance] > handler (@qb-lapdance/server/main.lua:68)

and line 68 is This is line 68: local Player = QBCore.Functions.GetPlayer(src)

I really appreciate it! and again awesome mod :slight_smile:

Try adding this at the top of “server.lua”:
local QBCore = exports['qb-core']:GetCoreObject()

This should fix it, if not, I will try to update it as soon as possible (But I’m working on a lot of different projects so it can take time…)

That did work! I really appreciate it. :slight_smile: Hopefully that’ll help out if anyone else gets said error.

2 Likes

Suggestion bring GTA 3 back and make a hooker script!

1 Like

you still have gabz coords? would love to get them!

1 Like

yeah me lol

1 Like

This resource is outdated, please head to this resource: kc-unicorn
It has more features and the issue you had is fixed in this one lmao xd

OP request