qbcore-framework / qb-management

Management menu for jobs & gangs
GNU General Public License v3.0
33 stars 167 forks source link

Don't let people kick themselves #6

Closed S4pphiree closed 2 years ago

S4pphiree commented 2 years ago

Added a few lines of code so that people wont accidentally kick themselves out of jobs/gangs

ARSSANTO commented 2 years ago

there is a old exports of oxmysql as oxmysql 2.0 comes please update

local player = MySQL.Sync.fetchAll('SELECT * FROM players WHERE citizenid = ? LIMIT 1', {target})

on sv_boss.lua / RegisterNetEvent('qb-bossmenu:server:FireEmployee', function(target)

BerkieBb commented 2 years ago

That's not old

BerkieBb commented 2 years ago

Oh yeah, that is old