To many lua errors when I insert a CSS model?

Post Reply
Ferinsha
A semi-regular
A semi-regular
Posts: 19
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Feb 11, 2013 12:28 pm

To many lua errors when I insert a CSS model?

Post by Ferinsha »

Hey guys. On my DarkRP server I am trying to create more jobs but I have run out of models to use from HL2. So I decided to use CSS models but when I set it so a job uses one it kicks everyone constantly for 'To many lua errors'.

For example if I changed
TEAM_PREIST = AddExtraTeam("Preist", {
color = Color(0, 85, 85, 255),
model = "models/player/monk.mdl",
description = [[Create a church for whatever
religon the mayor is and listen to confessions.
You then have the choice to tell the police or
keep it a secret.]],
weapons = {""},
command = "preist",
max = 3,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})

to

TEAM_SWAT = AddExtraTeam("Swat", {
color = Color(0, 85, 85, 255),
model = "models/player/swat.mdl",
description = [[Assist the mayor and the police
when they need help. You can not leave the police
department area.]],
weapons = {""},
command = "swat",
max = 3,
salary = 75,
admin = 0,
vote = true,
hasLicense = false
})

It will kick people for lua errors
Post Reply