mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
48 lines
1.3 KiB
Lua
48 lines
1.3 KiB
Lua
|
|
--[[
|
||
|
|
| This file was obtained through the combined efforts
|
||
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
||
|
|
|
|
||
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
||
|
|
|
|
||
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||
|
|
--]]
|
||
|
|
|
||
|
|
local ix = ix
|
||
|
|
|
||
|
|
|
||
|
|
local PLUGIN = PLUGIN
|
||
|
|
|
||
|
|
PLUGIN.name = "Cigarettes"
|
||
|
|
PLUGIN.author = "Fruity"
|
||
|
|
PLUGIN.description = "Adds non PAC3 cigarettes."
|
||
|
|
|
||
|
|
ix.util.Include("sv_plugin.lua")
|
||
|
|
|
||
|
|
PLUGIN.allowedModels = {
|
||
|
|
[1] = "models/willardnetworks/citizens/",
|
||
|
|
[2] = "models/willardnetworks/vortigaunt.mdl",
|
||
|
|
[3] = "models/wn7new/metropolice/"
|
||
|
|
}
|
||
|
|
|
||
|
|
if (CLIENT) then
|
||
|
|
ix.option.Add("firstPersonCigarette", ix.type.bool, true, {
|
||
|
|
category = "Cigarettes"
|
||
|
|
})
|
||
|
|
end
|
||
|
|
|
||
|
|
ix.lang.AddTable("english", {
|
||
|
|
optFirstPersonCigarette = "Montrer la cigarette à la première personne",
|
||
|
|
optdFirstPersonCigarette = "Bascule si vous voulez que la cigarette s'affiche à la première personne ou non."
|
||
|
|
})
|
||
|
|
|
||
|
|
ix.lang.AddTable("french", {
|
||
|
|
optFirstPersonCigarette = "Montrer la cigarette à la première personne",
|
||
|
|
optdFirstPersonCigarette = "Bascule si vous voulez que la cigarette s'affiche à la première personne ou non."
|
||
|
|
})
|
||
|
|
|
||
|
|
ix.lang.AddTable("spanish", {
|
||
|
|
optFirstPersonCigarette = "Mostrar el Cigarro en Primera Persona",
|
||
|
|
optdFirstPersonCigarette = "Alterna si quieres que el cigarro se muestre en primera persona o no."
|
||
|
|
})
|