u have to update sql, check pull request in the github
For those of you who doesn’t get the “search” function to work. I recently realized that there was no ServerEvent in the server.lua.
So you only have to add this to the server.lua:
RegisterServerEvent(‘esx_carthief:body_search’)
AddEventHandler(‘esx_carthief:body_search’, function(target)
TriggerClientEvent(‘esx_carthief:body_search’, target)
end)
Hey there.
Is it possible to make the reward from selling cars to be given as Dirty Money , not the normal ones. since i can’t find that info when it goes to the database.
Having some issues where the car wont delete when you place it in the sell valuable car?
Any ideas on how to fix?
Is there a way to change it so the message it sends the police is anonymous instead of from the car theifs phone ?
Any idea, why cars are always yellow? -.-’
Edit.: I’ve found the issue, any chance how to change it, so it can take info from random spawn of the vehicle? Like original carvariations?
server.lua
CurrentVehicle = CreateVehicle(vehicleModel, createThisCar.Pos.x, createThisCar.Pos.y, createThisCar.Pos.z,
createThisCar.Heading, true, false)
local props = ESX.Game.GetVehicleProperties(CurrentVehicle)
props.plate = CurrentVehicle
props.color1 = 42
props.color2 = 42
props.tyreSmokeColor = {0, 255, 0}
ESX.Game.SetVehicleProperties(CurrentVehicle, props)
CurrentVehicleSpawnTime = GetGameTimer()
TaskWarpPedIntoVehicle(GetPlayerPed(-1), CurrentVehicle, -1)
ESX.ShowNotification(Config.STRING_DELIVER_CAR)
while IsPedInAnyVehicle(GetPlayerPed(-1), false) == false do
Wait(0)
end
-- Send information about vehicle to the server
TriggerServerEvent('esx_carthief:pongStolenVehicle', CurrentVehicle, createThisCar.Value)
Hej kekke jag undrade bara hur man får tag i pengarna efter att man har sålt den, Det är nämligen så att vi inte får några pengar efter det står bara det. Det hamnar inte i deras ställe. Vet du problemet sådan fall svara gärna. MVH sälen
If you have not made any changes, I think the person who sells the car will get the money directly.
Hello is there anyone here who knows how to set a timmer to the delivery marker so it doesn’t popup instantly on you’r map/gps?.
how to set up a job in a game?
Once we have the job how do we no what cars can be stolen etc? is there a message in game to tell us what car to steal?
Blips, when you press e in the marker at the 5 blips the police get message and blip following the car, with plate, color etc. go watch the source for more info.
Im sorry i do not understand what you mean,
The only marker i see as a car thief 0 is the yellow sell marker?
Anyone sort out modifying it to allow anyone to steal cars and not just those with the job?
Could one please explain how this job works,?
I have set myself as car thief and the only thing i see is a yellow marker which says press e to sell car
There has to be a set amount of cops on to steal cars(default set to 1). You go up the stair case on the other side of the garage and go to the house on the left. On the other side of the house there is a green circle. Here you can deposit items and guns. If there is enough cops on, on the map you should see markers for valuable car and cheap cars all throughout the map. You go to the car spot go in the little red circle and spawn the steal car. If your server has no car jack then you will need to unlock it. you bring the car back to the spot and go into the garage and sell the car. The money goes into the society money for the job. That’s what I know so far. I went into the config and put no cops required so i could test it on my local test server.
Knight(or anyone for that matter), could you explain this a little more? I’m not familair with society money. How does that get distributed to allow the thief to get paid for stealing the car? I sold the car successfully and saw the notification of payment but the player receives nothing for the sale.
I do see the money sitting in the addon_account_data money row, so it did get added properly. I just don’t know how to get it processed so that the thief receives it.
Works on Dunko’s vRP???
Can someone help me I want that everyone that steals the cars gets the money on his own bank not for the boss