Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function Check() // i use timers because i can - less lag anyways
- for i,pl in pairs(player.GetAll()) do
- for k,wep in pairs(pl.GetWeapons()) do
- if wep.CanBuy and wep.CanBuy == {ROLE_TRAITOR} and not wep.Scanned then
- wep.Scanned = true
- chat.AddText(Color(255,0,0), pl, " spawned a ", wep:GetClass())
- end
- end
- end
- timer.Simple(Check, 1)
- end
- timer.Simple(Check, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement