ULX

Author Topic: [Off topic] DarkRP Problem. (Can anyone possibly help with this?)  (Read 2843 times)

0 Members and 1 Guest are viewing this topic.

Offline Samg381

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
  • Owner- Samg381's Sandbox
    • Samg381's Sandbox Server

I know this is off topic, but if you know any way to help, PLEASE do! I have been struggling with this for three weeks and noone on facepunch can help!







I am having problems with custom code on my DarkRP server. It seems to be happening whenever I restrict groups. I have been having these problems since the start and it seems noone else is.
 (Please note: I am a novice coder. If you notice anything obvious to you that I am doing please feel free to tell me)
 
Here are my codes:
 SHARED.LUA: http://pastebin.com/bA8MSh9d
 ADDENTITIES.LUA: http://pastebin.com/zEaMhEbz
 


PROBLEM 1:
 
I am trying to make it so you must be SWAT before Becoming SWAT Cheif.

I get this error:
 [ERROR] gamemodes/darkrp/gamemode/shared.lua:260: '}' expected (to close '{' at line 247) near 'NeedToChangeFrom'
 1. unknown - gamemodes/darkrp/gamemode/shared.lua:0

 



================================================== ===============================
 
SECOND Question:
 


I want to make it so that Car Dealers Can spawn cars.
 
Here is the error:
 
[ERROR] gamemodes/darkrp/gamemode/addentities.lua:152: '}' expected (to close '{' at line 146) near 'allowed'
 1. unknown - gamemodes/darkrp/gamemode/addentities.lua:0

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: [Off topic] DarkRP Problem. (Can anyone possibly help with this?)
« Reply #1 on: November 19, 2012, 01:09:32 PM »
The Ulysses developers don't have much knowledge of DarkRP, sorry. As a side note of interest, however, I am not really surprised by how many of the top 100 Lua errors are due to DarkRP: http://errors.garrysmod.com/top/?minutes=1440
Experiencing God's grace one day at a time.