kyoshin3 Posted March 4, 2020 Share Posted March 4, 2020 (edited) 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 March 4, 2020 by kyoshin3 Link to comment
_Ace Posted March 4, 2020 Share Posted March 4, 2020 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
kyoshin3 Posted March 4, 2020 Author Share Posted March 4, 2020 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 Link to comment
Malavida Posted May 20, 2020 Share Posted May 20, 2020 Hi dude, thanks, can you help me with your script?, im trying to restrict the use locked on skin, but idk how? thanks again, i like the script Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now