validate player skin

This commit is contained in:
EinS4ckZwiebeln
2024-11-10 12:52:37 +01:00
parent 99953386e4
commit dc9a9b66ae
+3
View File
@@ -1,4 +1,7 @@
RegisterNetEvent("esx_skin:save", function(skin)
if not skin or type(skin) ~= "table" then
return
end
local xPlayer = ESX.GetPlayerFromId(source)
if not ESX.GetConfig().CustomInventory then