From a12298e88c70923c4f38960a21939cd692266817 Mon Sep 17 00:00:00 2001 From: DevX32 <60389339+DevX32@users.noreply.github.com> Date: Tue, 17 Oct 2023 12:48:06 +0545 Subject: [PATCH] Update commands.lua --- server/commands.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/commands.lua b/server/commands.lua index 3e52246..1d649f6 100644 --- a/server/commands.lua +++ b/server/commands.lua @@ -17,8 +17,7 @@ lib.addCommand('admincar', { args = {}, permission = false, }, function(source) - local src = source - if not (exports.qbx_core:HasPermission(source, 'savecar') then + if not (exports.qbx_core:HasPermission(source, 'savecar')) then NoPerms(source) return end