#No such export getCurrentSkill in resource cw-rep

1 messages · Page 1 of 1 (latest)

wintry bolt
#

Hey there, i followed the install instructions but getting this error:

[ script:of-busjob] SCRIPT ERROR: @of-busjob/server/main.lua:19: No such export getCurrentSkill in resource cw-rep

RegisterNetEvent('of_busjob:server:pay', function(route)
    local player = exports.qbx_core:GetPlayer(source)
    local skills =  exports["cw-rep"]:getCurrentSkill('busJob')
    

    lib.print.debug(skills)

    player.Functions.AddMoney('cash', sharedConfig.routes[route].reward, 'busjob')
end)

My server.cfg
ensure cw-rep tested also with start cw-rep

cw-rep folder is in my ressource folder

I can use /skills ingame, so the ressource is running

agile solar
#

You're using a client export in server side

wintry bolt
#

omg

#

facepalm

#

im so sorry

agile solar
wintry bolt
#

ill buy u a coffee for this fail 😄

agile solar
wintry bolt
#

u should got a coffee