Hello, I had a mistake when creating the game Faction Garrys mod on NutScript mode. And so the error is as follows:
[ERROR] gamemodes/hl2rp/schema/factions/sh_zcwu.lua:6 invalid escape sequence near ' '' '
1. unknows - gamemodes/hl2rp/schema/faction/sh_zcwu.lua:0
And you another error:
Faction 'zcwu' is missing a name.You need to add a FACTION.name = "Name"
Faction 'zcwu' is missing a description.You need to add a FACTION.desc = "Descraption"
Faction 'zcwu' is missing a color.You need to add FACTION.color = Color(1, 2, 3)
But what is in the file sh_zcwu.lia:
FACTION.name = "Сотрудник CWU"
FACTION.desc = "Сотрудник CWU"
FACTION.color = Color(25, 30, 180)
FACTION.isDefault = false
FACTION.models = {
"\models\humans\medic\female_01.mdl",
"\models\humans\medic\female_02.mdl",
"\models\humans\medic\female_03.mdl",
"\models\humans\medic\female_04.mdl",
"\models\humans\medic\female_05.mdl",
"\models\humans\medic\female_06.mdl",
"\models\humans\medic\male_01.mdl",
"\models\humans\medic\male_02.mdl",
"\models\humans\medic\male_03.mdl",
"\models\humans\medic\male_04.mdl",
"\models\humans\medic\male_05.mdl",
"\models\humans\medic\male_06.mdl",
"\models\humans\medic\male_07.mdl",
"\models\humans\medic\male_08.mdl",
"\models\humans\medic\male_09.mdl"
}
FACTION.pay = 20
FACTION.isGloballyRecognized = true
FACTION_CWU = FACTION.index
And when I try to give myself WhiteList, writes to me that this Facton does not exist.
Use [b]/[/b], not [b]\[/b] in paths. And don't start paths with slashes.
[QUOTE=iJohnny;51282532]Use [b]/[/b], not [b]\[/b] in paths. And don't start paths with slashes.[/QUOTE]
Если русский - Спасибо помогло)))
If English - Thanks to help))))
Sorry, you need to Log In to post a reply to this thread.