Hello , how do i make the point of recolt/treatment/selling to appear when the player selection the job in question thanks
if i delete or comments this line my jobs dont work Oo.
Hey
Any idea on how to add :
“Inventory Full” (When reached the max recolt quantity for the item)
“Treatment Complete”
for every jobs we have (must take count of the different limitations i think).
Hey i would like to know how can i make that the people need to get out of the car to harvest treat and sell ?
Hello, how do I have a limitation per item? Kind the weed thank you
It tells me to ‘‘Add a new column limitation to your item table name (not null)’’
Can someone explain where i add this and what exactly i put in?
Slighty confusing
EDIT: Fixed by running this in the query
ALTER TABLE items
CHANGE COLUMN limitation
limitation
INT(11) NOT NULL AFTER libelle
;
How to add a touch to harvest.
Example press e to harvest
Hi, I would like to know how I could do to have two treatments instead of 1. Harvest / Treatment / Treatment 2.
How could I?
Thank you
Easy. You create 2 lines in your DB … With the same Harvest loc and Sell Loc.
I’m not understood, you can explain that to me with codes. Thank you
Nop sorry. Just read what I Say, not this hard. Think by yourself a little bit dude.
How did you make the first Recolt/treatment/Selling ?
Got it ?
So , it’s the same thing : You keep your Recolt/selling Coordinates and you put your 2nd Treatment Coordinates.
I can’t make it simplier.
I tried to do what it says but it does not work
I don’t think that’s a good idea, my script is not developed for this kind of thing, sorry all
You can change the Sprite of the blip, find the list on internet
Hello, I use your script everyday on my server and my players loves it. Can you send me the lines to edit for checking if the players is in vehicle and don’t allow her to harvest please ?
Hi I have a problem everytime I restart the server I lose my items?
Can you help me do it. I try to do but it does not work
It’s very simple :
if(IsPedInAnyVehicle(ply, true) == false) then
for k, item in ipairs(JOBS) do
local distanceField = GetDistanceBetweenCoords(item.rx, item.ry, item.rz, plyCoords["x"], plyCoords["y"], plyCoords["z"], true)
local distanceTreat = GetDistanceBetweenCoords(item.tx, item.ty, item.tz, plyCoords["x"], plyCoords["y"], plyCoords["z"], true)
local distanceSell = GetDistanceBetweenCoords(item.sx, item.sy, item.sz, plyCoords["x"], plyCoords["y"], plyCoords["z"], true)
if (distanceField <= recoltDistance) then -- Proche d'un lieu de récolte
jobId = k
return 're'
elseif (distanceTreat <= treatmentDistance) then -- Proche d'un lieu de traitement
jobId = k
return 'tr'
elseif (distanceSell <= sellDistance) then -- Proche d'un lieu de revente
jobId = k
return 'se'
end
end
end
You may adjust to your needs, that’s vdk’s script modified by me to corresponds at my specifics needs.
Leor