Duty Toggles

Needs Tested
This commit is contained in:
MrNewb committed 2025-01-12 12:55:29 -05:00
1 parent ecaf970e48
commit 7e294b55fa
3 files changed
+19 -1

No files matched your search

+5
View File
@@ -181,6 +181,11 @@ Framework.SetPlayerJob = function(src, name, grade)
return player.Functions.SetJob(name, grade)
end
Framework.ToggleDuty = function(src, status)
local playerData = QBox:GetPlayer(src).PlayerData
QBox:SetJobDuty(playerData.citizenid, status)
end
-- Framework.AddAccountBalance(src, _type, amount)
-- Adds the specified amount to the player's account balance of the specified type.
Framework.AddAccountBalance = function(src, _type, amount)