Simple TEAM question

Is this the command to set a players team?
[lua] ply:setTeam(Team_Civilian) [/lua]

If not what is it… help would be appreciated =-).

[lua]ply:SetTeam( TEAM_CIVILIAN )[/lua]

Lua is case sensitive, and your teams should be enumerations.

Alrighty Thanks =-)