Nordi Scripts

This commit is contained in:
Max 2025-06-13 01:23:53 +02:00
parent 1fe44ee3bb
commit 9264a37109
37 changed files with 2571 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