mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 22:36:03 +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, "Active") then
|
||||||
if string.find(priority, GetPlayerName(source)) then
|
if string.find(priority, GetPlayerName(source)) then
|
||||||
priority = string.gsub(priority, ", " .. GetPlayerName(source), "")
|
priority = string.gsub(priority, ", " .. GetPlayerName(source), "")
|
||||||
|
priority = string.gsub(priority, GetPlayerName(source), "")
|
||||||
TriggerClientEvent("returnPriority", -1, priority)
|
TriggerClientEvent("returnPriority", -1, priority)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user