Help with drawing sprites

How do you draw a sprite on all members of a team?

[lua]
– Dunno about the sprites, but here’s how you iterate over team players
for _,v in ipairs( team.GetPlayers( TEAM_RED ) ) do
– Draw sprites
end[/lua]

Thx and another thing, how do i pick a random player in that team and do some function to him?

Any structure that lists elements or values is called a table, I’m sure that if you take a look at the functions available for use on tables you’ll find just what you need :

[table

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?search=table)