boobster

Untitled

Feb 23rd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. hook.Add("PlayerCanPickupWeapon", "HoboRifleBan", function(ply, wep)
  2.     if team.GetName(ply:Team("Bezdomny")) then
  3.         return ( wep:GetClass() == {"weapon_pistol", "fas2_deagle", "fas2_ots33", "fas2_glock20", "fas2_p226", "fas2_m1911", "fas2_ragingbull", "fas2_machete"})
  4.     else
  5.         DarkRP.notify(ply, 1, 5, "Nie mozesz miec tej broni jako bezdomny!")
  6.     end
  7. end)
Add Comment
Please, Sign In to add comment