I need help fixing this LUA Error please!
[ERROR] Lua is unable to understand file "darkrp_customthings/entities.lua" because its author made a mistake around line number 882.
The best help I can give you is this:
There is an opening '{' bracket at line 876, but this bracket is never closed or not closed in time. It was expected to be closed before the 'customCheck' at line 882.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
Entitiy thingy i wrote:
DarkRP.createEntity("TechPrint - Vip 1", {
ent = "tcb_techprint_vip1",
model = "models/props_c17/consolebox01a.mdl",
price = 30000,
max = 2,
cmd = "buytechprintvip1"
customCheck = function( ply )
return ply:CheckGroup( "vip" )
end,
})