mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-25 21:04:45 +00:00
Update commands.lua
fixed leave priority command
This commit is contained in:
1 parent
938d947825
commit
550cee48dd
1 file changed
+1
@@ -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