Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local groupIcon = nil
- if LocalPlayer():IsUserGroup( "mod" ) then
- groupIcon = Material("icon16/shield.png")
- elseif LocalPlayer():IsUserGroup( "superadmin" ) then
- groupIcon = Material("icon16/shield_add.png")
- end
- if groupIcon != nil then
- surface.SetMaterial( groupIcon )
- surface.SetDrawColor( 255, 255, 255, 255 )
- surface.DrawTexturedRect( w-120, 6, 16, 16 )
- surface.DrawTexturedRect( w-120, 6, 16, 16 )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement