OFFICERBROWN23 / Esx_Cityworks

Hello Everyone i have had this job made for a good while where you go point to point around the map doing repairs around the map (Animation) Now keep in mind this is a modified version of the pool job so it will look familiar There are 80 locations the job is located in Paleto
19 stars 7 forks source link

Hey! I have a problem, I'm not getting paid. #4

Open Solider1337 opened 3 years ago

Solider1337 commented 3 years ago

I can stand up to 20 minutes in a payday circle and still nothing. console shows it:

SCRIPT ERROR: @esx_cityworks/server/main.lua:11: attempt to index a nil value

MDJHShovon commented 3 years ago

The problem is item name is wrong in the config.lua.Change this lines on the config.lua

ItemDb_name = "pay_works" to ItemDb_name = "contrat",
ItemName = "City Check" to ItemName = "Bills",
ItemRequires = "pay_works" to ItemRequires = "contrat",
ItemRequires_name = "City Check" to ItemRequires_name = "Bills",