mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
44
gamemodes/ixhl2rp/plugins/cigarettes/sh_plugin.lua
Normal file
44
gamemodes/ixhl2rp/plugins/cigarettes/sh_plugin.lua
Normal file
@@ -0,0 +1,44 @@
|
||||
--[[
|
||||
| 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/",
|
||||
[4] = "models/wn7new/metropolice_c8/",
|
||||
[5] = "models/thomask_110/"
|
||||
}
|
||||
|
||||
if (CLIENT) then
|
||||
ix.option.Add("firstPersonCigarette", ix.type.bool, true, {
|
||||
category = "Cigarettes"
|
||||
})
|
||||
end
|
||||
|
||||
ix.lang.AddTable("english", {
|
||||
optFirstPersonCigarette = "Show Cigarette in First Person",
|
||||
optdFirstPersonCigarette = "Toggles whether you want the cigarette to show in first person or not."
|
||||
})
|
||||
|
||||
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."
|
||||
})
|
||||
Reference in New Issue
Block a user