I've never seen this before,and I've made jobs tons before. Any idea what the hell this means? Considering there isn't Line 0?
[QUOTE][ERROR] expected near '='
1. unknown - gamemodes/darkrp/gamemode/shared.lua:0
[/QUOTE]
Here is the firs part of my shared.lua. I'm so confused of why this error is coming up?
[QUOTE]/*--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that team!
--------------------------------------------------------*/
TEAM_CITIZEN = AddExtraTeam("Citizen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"
},
description = [[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]],
weapons = {},
command = "citizen",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
mayorCanSetSalary = true
})
[/QUOTE]
i cant tell for sure, but could it be the weapons = {} , change it to weapons = {""} ?
or if your using a svn darkrp it should have fists weapon on there so you could use weapons = {"weapon_fists"},
Okay Ill try that
The error probably isn't in the first couple of lines of shared.lua, you probably missed a comma somewhere. You should post your entire shared.lua for people can see it.
Have you cut off the error message?
Sorry, you need to Log In to post a reply to this thread.