Всем здравствуйте, помогите пожалуйста решить проблему,
Вылазит ошибка при смене профессий
Ошибка
[ERROR] lua/includes/extensions/net.lua:182: net.ReadType: Couldn't read type 76
1. error - [C]:-1
2. ReadType - lua/includes/extensions/net.lua:182
3. ReadType - lua/includes/extensions/net.lua:124
4. ReadTable - lua/includes/extensions/net.lua:124
5. func - addons/ecleaner/lua/ec/cl_ec.lua:131
6. unknown - lua/includes/extensions/net.lua:32
Вот 1 код профессии если вдруг кому то нужен будет
TEAM_FIRE = DarkRP.createJob("МЧС", {
color = Color(206, 32, 41, 255),
model = {
"models/player/wisay/mchs.mdl",
},
description = [[]],
weapons = {"weapon_extinguisher_infinite"},
command = "firefighter",
max = 5,
salary = 250,
admin = 0,
vote = false,
hasRadio = true,
category = "Мирные",
sortOrder = 20,
PlayerSpawn = function(ply)
local scale = 1
ply:SetModelScale( scale, 0 )
ply:SetViewOffset( Vector(0, 0, 64) * scale )
ply:SetViewOffsetDucked( Vector(0, 0, 28) * scale )
end,
})
Вылазит ошибка при смене профессий
Ошибка
[ERROR] lua/includes/extensions/net.lua:182: net.ReadType: Couldn't read type 76
1. error - [C]:-1
2. ReadType - lua/includes/extensions/net.lua:182
3. ReadType - lua/includes/extensions/net.lua:124
4. ReadTable - lua/includes/extensions/net.lua:124
5. func - addons/ecleaner/lua/ec/cl_ec.lua:131
6. unknown - lua/includes/extensions/net.lua:32
Вот 1 код профессии если вдруг кому то нужен будет
TEAM_FIRE = DarkRP.createJob("МЧС", {
color = Color(206, 32, 41, 255),
model = {
"models/player/wisay/mchs.mdl",
},
description = [[]],
weapons = {"weapon_extinguisher_infinite"},
command = "firefighter",
max = 5,
salary = 250,
admin = 0,
vote = false,
hasRadio = true,
category = "Мирные",
sortOrder = 20,
PlayerSpawn = function(ply)
local scale = 1
ply:SetModelScale( scale, 0 )
ply:SetViewOffset( Vector(0, 0, 64) * scale )
ply:SetViewOffsetDucked( Vector(0, 0, 28) * scale )
end,
})