Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ITEM.name = "Stupid Shit"
- ITEM.desc = "A Lottey Ticketttttttt GIVE ARROWS CUNT"
- ITEM.model = "models/props_junk/garbage_carboard002a.mdl"
- ITEM.price = 200
- ITEM.functions._use = {
- name = "Use",
- icon = "icon16/add.png",
- onRun = function(item)
- local client = item.player
- local char = client:getChar()
- client:GiveAmmo(200, "XBowBolt", true)
- client:EmitSound("items/ammo_pickup.wav")
- client:notify("+200 Arrows")
- print(HpwRewrite)
- client:EmitSound("items/battery_pickup.wav")
- local complete, reason = HpwRewrite:PlayerGiveLearnableSpell(client, item.name)
- if not complete then
- HpwRewrite:DoNotify(item.player, reason or "Unknown error!")
- return false
- end
- return true
- --item.player:ScreenFade(1, Color(255, 255, 255, 255), 3, 0)
- return true
- end,
- onCanRun = function(item)
- return (!item.entity or !IsValid(item.entity))
- end
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement