Update player.lua

This commit is contained in:
btwlouis
2023-07-10 19:38:40 +02:00
committed by GitHub
parent b744d3f69a
commit f47979917d
+1 -1
View File
@@ -460,7 +460,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
end
function self.removeWeapon(weaponName)
local weaponLabel, weaponHash
local weaponLabel = nil
local weaponHash = joaat(weaponName)
local playerPed = GetPlayerPed(self.source)