• Help! LUA Errors on DarkRP server, are my scripts correct?
    1 replies, posted
Hey guys, recently made a DarkRP server. I [U]have[/U] got DarkRP Modification. I've made all my custom jobs, then went to delete the stock ones that come with DarkRP. I then installed FA:S weapons onto my server. I restarted the server, and I do not have any jobs, and my playermodel is grey. However i [U]can[/U] spawn the FA:S weapons inside of the spawn menu. (Not F4 menu) Help? (I don't know how to do the fancy script in grey) EDIT: Forgot link [url]http://pastebin.com/kUy3sWAX[/url] Also, my console: [IMG]http://i.imgur.com/lV5e0Ev.png[/IMG]
On line 68 of the pastebin, you're missing [B]})[/B] to close up the Mayor's job. That should be line 62 or 63 in your actual script, since the line numbers seem to be differing. It looks like you're also missing a parenthesis in jobrelated.lua, but I don't think you pasted that with the pastebin. To post formatted code, use CODE and /CODE wrapped with [ ]'s. I'm not sure how to show it without it getting parsed -- just replace the <>'s with []'s here: <CODE> </CODE>
Sorry, you need to Log In to post a reply to this thread.