Open GoogleCodeExporter opened 8 years ago
And I haven't touched the file before.
Original comment by spyste...@gmail.com
on 14 Jul 2010 at 9:57
Have you edited shared.lua and/or addentities.lua?
Original comment by ch...@watersideway.plus.com
on 15 Jul 2010 at 12:21
I have edited both of those.
I edited a default class, and edited addentities.lua correspondingly.
Original comment by spyste...@gmail.com
on 15 Jul 2010 at 8:03
Post the code you've changed/added here, it's probably an error in the syntax
of them.
Original comment by ch...@watersideway.plus.com
on 15 Jul 2010 at 8:18
addentities.lua
AddEntity("Drug lab", "drug_lab", "models/props_lab/crematorcase.mdl", 400, 3,
"/buydruglab", {TEAM_GAMB, TEAM_GMOB})
shared.lua
TEAM_GAMB = AddExtraTeam("Gambino Mafia Gangster", Color(75, 75, 75, 255),
{Took away list of models to keep it small},
[[The lowest person of the Gambino crime family.
A gangster generally works for the Boss who runs the Gambino family.
The Boss sets your agenda and you follow it or you might be punished.]], {},
"gambino", 3, 45, 0, false, false)
TEAM_GMOB = AddExtraTeam("Gambino Mafia Boss", Color(25, 25, 25, 255),
"models/player/gman_high.mdl", [[The Gambino Mafia Boss is the boss of the
Gambino Mafia in the city.
With his power he coordinates the gangsters and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick.
The Boss also can unarrest you.]], {"lockpick", "unarrest_stick"}, "gambboss",
1, 60, 0, false, false, {TEAM_GAMB})
Original comment by spyste...@gmail.com
on 15 Jul 2010 at 9:10
Your problems here, "{Took away list of models to keep it small}", either put
the list of models back in or replace it with just 1 model.
Original comment by ch...@watersideway.plus.com
on 15 Jul 2010 at 10:48
I took it away only to post it here. The list of models still exist in the
shared.lua.
Original comment by spyste...@gmail.com
on 15 Jul 2010 at 11:39
They're fine by the looks of it, and it seems the error is pointing to the
agendas section of shared.lua, are you sure you haven't touched the agendas or
accidentally commented them out?
Original comment by ch...@watersideway.plus.com
on 15 Jul 2010 at 11:57
I know why, you've changed the gangster/mob classes but it's still trying to
create the agendas with the old ones, change the custom agenda for the
gangsters to this:
AddAgenda("Gambino Mafia Agenda", TEAM_GMOB, {TEAM_GAMB})
Original comment by ch...@watersideway.plus.com
on 15 Jul 2010 at 11:59
Or delete it if you do not wish for them to have an agenda.
Original comment by ch...@watersideway.plus.com
on 15 Jul 2010 at 12:00
Original comment by fpeijnen...@gmail.com
on 15 Jul 2010 at 1:32
Note you can still post here if the problem isn't solved yet.
Original comment by fpeijnen...@gmail.com
on 15 Jul 2010 at 1:33
Original issue reported on code.google.com by
spyste...@gmail.com
on 14 Jul 2010 at 9:56