Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("POWERSTRUGGLE_WIN","HookWin",function(winners,area)
- local SpawnItems = {
- "melon",
- "chinese_takeout",
- "beer",
- "whiskey",
- "chloroform"
- }
- local pos = PS.Positions[area][1]
- if pos then
- for i=1,5 do
- // Clockwork.entity:CreateItem(NULL, Clockwork.item.stored[table.Random(SpawnItems)], pos + Vector(math.random(-200,200),math.random(-200,200),100), Angle(0,0,0))
- end
- end
- for k, v in pairs(winners) do
- print(v:Name().." has just captured a point.")
- end;
- end)
Advertisement
Add Comment
Please, Sign In to add comment