Files
wnsrc/gamemodes/darkrp/plugins/writing/items/writing/sh_newspaper.lua
lifestorm 6a58f406b1 Upload
2024-08-04 23:54:45 +03:00

34 lines
909 B
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/
--]]
ITEM.name = "Gazete"
ITEM.model = "models/props_junk/garbage_newspaper001a.mdl"
ITEM.identifier = "newspaper"
ITEM.holdData = {
vectorOffset = {
right = 0.5,
up = 0,
forward = 1
},
angleOffset = {
right = 0,
up = 0,
forward = -0
},
}
function ITEM:OnInstanced()
if self.data and self.data.data then
if self.data.data.writingID then self:SetData("writingID", self.data.data.writingID) end
if self.data.data.title then self:SetData("title", self.data.data.title) end
if self.data.data.cracked then self:SetData("cracked", self.data.data.cracked) end
end
end