mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
Update commands.lua
fixed leave priority command
This commit is contained in:
@@ -61,6 +61,7 @@ if config.enablePriorityCooldown then
|
||||
if string.find(priority, "Active") then
|
||||
if string.find(priority, GetPlayerName(source)) then
|
||||
priority = string.gsub(priority, ", " .. GetPlayerName(source), "")
|
||||
priority = string.gsub(priority, GetPlayerName(source), "")
|
||||
TriggerClientEvent("returnPriority", -1, priority)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user