Ulysses
General => Off-Topic => Topic started by: Samg381 on November 19, 2012, 12:55:27 PM
-
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
-
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