Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Vehicle Modification options. #232

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion locales/pt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ local Translations = {
kicked_server = 'Foste expulso do servidor',
check_discord = '🔸 Aparece no nosso Discord para mais informações: ',
banned = 'Foste banido:',
ban_perm = '\n\O teu ban é permanente.\n🔸 Entra no nosso Discord para mais informações: ',
ban_perm = '\n\nO teu ban é permanente.\n🔸 Entra no nosso Discord para mais informações: ',
ban_expires = '\n\nO ban expira em: ',
rank_level = 'Seu nível de permissão é agora ',
admin_report = 'Relatório de administração - ',
Expand Down
1 change: 0 additions & 1 deletion server/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ end)
RegisterServerEvent('qb-admin:giveWeapon', function(weapon)
local src = source
if QBCore.Functions.HasPermission(src, 'admin') or IsPlayerAceAllowed(src, 'command') then
local Player = QBCore.Functions.GetPlayer(src)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing as it is an unused variable.

exports['qb-inventory']:AddItem(src, weapon, 1, false, false, 'qb-admin:giveWeapon')
else
BanPlayer(src)
Expand Down
Loading