mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
Upload
This commit is contained in:
35
gamemodes/darkrp/plugins/languages/items/sh_box_hindi.lua
Normal file
35
gamemodes/darkrp/plugins/languages/items/sh_box_hindi.lua
Normal file
@@ -0,0 +1,35 @@
|
||||
--[[
|
||||
| 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.uniqueID = "languagebox_hindi"
|
||||
ITEM.name = "Hindi Audiobook Box"
|
||||
ITEM.description = "A box containing a full set of Audiobooks. How convenient."
|
||||
ITEM.category = "Audiobook Boxes"
|
||||
ITEM.model = "models/items/item_item_crate.mdl"
|
||||
ITEM.width = 2
|
||||
ITEM.height = 2
|
||||
|
||||
ITEM.functions.Convert = {
|
||||
name = "Convert",
|
||||
icon = "icon16/wrench.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local inventory = client:GetCharacter():GetInventory()
|
||||
|
||||
inventory:Add("audiobook_1Hindi", 1)
|
||||
inventory:Add("audiobook_2Hindi", 1)
|
||||
inventory:Add("audiobook_3Hindi", 1)
|
||||
inventory:Add("audiobook_4Hindi", 1)
|
||||
inventory:Add("audiobook_5Hindi", 1)
|
||||
|
||||
client:Notify("You have converted the " .. item.name .. " into its relevant Audiobook set.")
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user