[Release] esx_ownedcarthief

@DonReneCapo @Questionz

thx for the reply, I already figured it out.
Everything works expect the jammer…
Can you explain what the jammer should do and how to use exact? -> It should disable the alarm full I think including the gps tracker if we check the script.
But he deactivated it but something else immediately reactivated it…

how can i fix this?

1 Like

@AlexGarcio When you buy the items the following error appears:

So the item I want to buy doesn’t go into my inventory, nor does it discount my money. The error is related to these lines:

`RegisterServerEvent(‘esx_ownedcarthief:buyitem’)
AddEventHandler(‘esx_ownedcarthief:buyitem’, function(item)
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)

if xPlayer.getMoney() >= item.price then
	if xPlayer.canCarryItem(item.name, 1) then
		xPlayer.removeMoney(item.price)
		xPlayer.addInventoryItem(item.name, 1)
		xPlayer.showNotification(_U('bought', 1, _U(item.name), ESX.Math.GroupDigits(item.price)))
	else
		xPlayer.showNotification(_U('player_cannot_hold'))
	end
else
	local missingMoney = item.price - xPlayer.getMoney()
	xPlayer.showNotification(_U('not_enough', ESX.Math.GroupDigits(missingMoney)))
end

end)`

Can anybody help me? Please (Sorry my English - Google Translation)

1 Like

How can I import the esx file I get this error I’m not sure how to do it

How do I import the sql file I get a error when I try to do it?

change ‘essentialmode’ to the name of your database, for you ‘sesx’

Thanks Yeah I figured it out not sure if it is working right you want to join my server to test it with me no blips are showing but I’m not sure if another player needs to be in the session

Please add sql for older esx versions.

Has anyone had an issue where the horn is blaring constantly for passengers when they get in/on the vehicle? It goes off after a little bit of time but I can not see in any of the lua’s what is triggering it.

Hello, how do we install the alarms? It’s not usable for me, so because of that, I can’t activate the alarm interface! Thanks.

when i open the pawn shop and buy something it just keeps the menu open and dont give me the item . same thing with the chop shop the menu just stays open and dont give you the money, help please

Just use the previous version of esx_ownedcartheif. It’ll help you. :slight_smile:

i tried this script but i cannot sell cars even the npc cars. i already true in the npc in the Black Garage


hello I do not understand I get this error so that I have all installed in my db weight and present I even add to invotory truck may it change nothing thank you in advance for your help

I have this issue i cant buy in pawnshop i have already uploaded the database

same still no solution about this

anyone unable to buy item in the pawn shop menu list. when u buy the not add in user inventory … how to solve it?

how many minutes can a car be sold?

Unsure but for some reason i keep getting this error and my server cars arent coming up
Any chance you can help me out?

also,
My items are rendered unuseable for some reason?