Help! I'm trying to make custom shipments for darkrp and I'm having some errors.
14 replies, posted
[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua:25: '}' expected (to close '{' at line 20) near 'seperate'
1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua:0
All errors tell you everything.
Show your code if you can't figure out this error
every key=value in table needs to be separated by comma
,
It looks like everything is separated by commas am I wrong?
Yes you are
Can you help me? I've been at this for a couple of hours.
Are you ok?
I'll help, but you may need to get your eyes checked.
amount = 1
seperate = false,
pricesep = 20
Thinned it down to the error occurring in this area. I'm sure you can figure it out.
I don't have problems when it comes to making a custom job, but when I do custom shipments nothing works!
Maybe you don't have syntax so check yourself here:
https://files.facepunch.com/forum/upload/104786/42a55b06-c224-4174-bd78-97bc09136b96/sublime_text_2019-03-15_18-22-25.png
now i'm getting this Unhandled Lua Refresh: [NAME:darkrp_customthings/shipments.lua] [TYPE:!UNKNOWN]
Post the full error pls
I have restarted the server multiple times and there are no errors only this.
You need to restart server or type in server console `lua_openscript darkrp_customthings/shipments.lua`
It's all good my dude! the shipment spawns.
Sorry, you need to Log In to post a reply to this thread.