Temik
Пользователь
- Регистрация
- 16 Мар 2021
- Сообщения
- 3
- Реакции
- 0
- Баллы
- 3
- Клан-тег
- Hob
- Пол
- Мужской
- Семейное положение
- Не женат
team_ct = DarkRP.createJob("СТ | Командир", {
color = Color(255, 255, 255, 255),
model = {"models/jajoff/sps/cta/tc13j/cc.mdl"},
description = [[Time of the republic]],
weapons = { "rw_sw_dc15le", "rw_sw_dual_dc17ext", "rw_sw_valkenx38a", "rw_sw_dp24", "rw_sw_nade_thermal", },
command = "clone6",
max = 0,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Клоны"
PlayerSpawn = function(ply) (104 линия)
ply:SetMaxHealth(150)
ply:SetHealth(150)
ply:SetArmor(150)
end
})
Что тут не так?
Пишет в консоли
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 104.
The best help I can give you is this:
There is an opening '{' bracket at line 91, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 104.
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: ({)}.
------- End of Simplerr error -------
Модели нету, там просто серый фримен из ХЛ2 и пишет лау ошибка 1, да и самой профы нету вообще
color = Color(255, 255, 255, 255),
model = {"models/jajoff/sps/cta/tc13j/cc.mdl"},
description = [[Time of the republic]],
weapons = { "rw_sw_dc15le", "rw_sw_dual_dc17ext", "rw_sw_valkenx38a", "rw_sw_dp24", "rw_sw_nade_thermal", },
command = "clone6",
max = 0,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Клоны"
PlayerSpawn = function(ply) (104 линия)
ply:SetMaxHealth(150)
ply:SetHealth(150)
ply:SetArmor(150)
end
})
Что тут не так?
Пишет в консоли
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 104.
The best help I can give you is this:
There is an opening '{' bracket at line 91, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 104.
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: ({)}.
------- End of Simplerr error -------
Модели нету, там просто серый фримен из ХЛ2 и пишет лау ошибка 1, да и самой профы нету вообще