That's totally different :p
PHP Code:
buffer[32]
switch(get_user_team(id))
{
case 0: copy(buffer, 31, "unasigned")
case 1: copy(buffer, 31, "terrorist")
case 2: copy(buffer, 31, "counter-terrorist")
case 3: copy(buffer, 31, "spectator")
}
You can use the buffer in your hud
__________________