[Release] Harvest/Treatment/Selling Jobs System v1.1

with the job system , can i choose the skin for no spawn in michael :confused:

why the last post delette ?

I got an error : http://prntscr.com/f08151

sorry

DROP TABLE IF EXISTS jobs;

CREATE TABLE jobs (
job_id int(11) NOT NULL,
job_name varchar(40) NOT NULL,
salary int(11) NOT NULL DEFAULT ‘500’
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ALTER TABLE jobs
ADD PRIMARY KEY (job_id);

ALTER TABLE jobs MODIFY job_id int(11) NOT NULL AUTO_INCREMENT;

INSERT INTO jobs VALUES (1,‘Chomeur’,500),(2,‘Policier’,1200),(3,‘Pompier’,1200),(4,‘Mineur’,700),(5,‘Chauffeur de taxi’,1000);

Hello, perfect script, can you just add an option to set the max quantity of one items players can have ?

2 Likes

I have a message error in console :

You 'll find it in the Recolt Table

Hum…I have some bugs :

  1. I can recolt wood, even if I’m Electricien
  2. I have no message to tell me press E to action and no message telling me it goes to inventory
  3. I can’t treatment items

I’m on Discord, and i’m French :slight_smile:

It’s automatic. Works perfect for me !!

Good Job VodkHard and thanks for this release :slight_smile:

1 Like

Automatic, yup just saw it…but where is “mt:missiontext” ?

I changed
“TriggerEvent(“mt:missiontext”, rl … ’ ~g~’ … tostring(JOBS[jobId].raw_item) … ‘~s~…’, 800)”
For
“DrawMissionTextInfo( rl … ’ ~g~’ … tostring(JOBS[jobId].raw_item) … ‘~s~…’, 800)”
And
“function DrawMissionTextInfo(m_text, showtime)
ClearPrints()
SetTextEntry_2(“STRING”)
AddTextComponentString(m_text)
DrawSubtitleTimed(showtime, 1)
end”

Now I’ve text

1 Like

UPDATE

Sorry I forgot to put MissionText in mods requirements :wink:

1/ not implemented yet
2/ I don’t want this kind of system sorry
3/ Without error screen it will be complicated to help you…

I think the error talk for itself… Read carefully my release…

Why I can not treat ? I don’t have text

hey, you are french ? you can help me the script don’t work for me

When I insert the sample.sql I have this error message?

  1. Okay ^^
  2. I see that
  3. IDK why, but I think you have to add ALL items to inventory…bcs If I want to sell “Casserole” and i haven’t “9
    0” in my users_inventory, your script crash…

How to make when we choose a craft (example: minor), 2 icons appears to allow us to visualize or is located the harvest zone and the sales area