Jump to content

need help with trucker system


kyoshin3

Recommended Posts

Hi, I'm trying to add new locations to deliver cargo. The resource is this https://community.multitheftauto.com/index.php?p=resources&s=details&id=13918

and when trying to add a new location, the job simply disappears, but if I leave only the default line "los santos delivery" the job works, I'm new to this and I have no idea why it doesn't work

sorry for my bad english

 

--------------------------------------- Configuration ---------------------------------------
jobs = {

    {name = "Los Santos Delivery",reward = 4500,truck = 403,trailer = 435,x = 2104.6611328125,y = -2086.919921875,z = 13.546875}
    {name = "San Fierro Delivery",reward = 7500,truck = 515,trailer = 591,x = -1726.4620361328, y = -79.842475891113,z = 3.5546875}
    
}
---------------------------------------------------------------------------------------------

Edited by kyoshin3
Link to comment

you need to add a comma , after each job.. because its a table

like so:
 

jobs = {

    {name = "Los Santos Delivery",reward = 4500,truck = 403,trailer = 435,x = 2104.6611328125,y = -2086.919921875,z = 13.546875},
    {name = "San Fierro Delivery",reward = 7500,truck = 515,trailer = 591,x = -1726.4620361328, y = -79.842475891113,z = 3.5546875}
    
}

 

notice the comma after 13.546875}

Link to comment
8 hours ago, _Ace said:

you need to add a comma , after each job.. because its a table

like so:
 


jobs = {

    {name = "Los Santos Delivery",reward = 4500,truck = 403,trailer = 435,x = 2104.6611328125,y = -2086.919921875,z = 13.546875},
    {name = "San Fierro Delivery",reward = 7500,truck = 515,trailer = 591,x = -1726.4620361328, y = -79.842475891113,z = 3.5546875}
    
}

 

notice the comma after 13.546875}

thanks, it worked :D

Link to comment
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...