1
0
Fork 0
forked from Simnation/Main

neuer npc händler

This commit is contained in:
Nordi98 2025-06-18 21:11:31 +02:00
parent 82489d6d85
commit b858c00883
26 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,15 @@
if Config.framework == 'esx' then
lib.callback.register('mt_dealerships:server:getPlayerJobESX', function(source)
local src = source
local Player = Config.core.GetPlayerFromId(src)
if not Player then return end
return Player.getJob().name
end)
lib.callback.register('mt_dealerships:server:getPlayerJobIsBossESX', function(source)
local src = source
local Player = Config.core.GetPlayerFromId(src)
if not Player then return end
return (Player.getJob().grade_name == 'boss')
end)
end