PHP Code:
public PlayerInformation(id)
{
if(PlayerInformationB[id])
{
if(is_user_alive(id))
{
new Health = get_user_health(id);
new Armor = get_user_armor(id);
switch(cs_get_user_team(id))
{
case CS_TEAM_T:
{
//set_dhudmessage(255, 0, 0, 0.27, 0.87, 0, 6.0, 1.0)
//show_dhudmessage(id, "Class: Prisoner | Health: %i | Armor: %i | Dollars: %i", Health, Armor, Dollars[id]);
}
case CS_TEAM_CT:
{
//set_dhudmessage(0, 0, 218, 0.27, 0.87, 0, 6.0, 1.0)
//show_dhudmessage(id, "Class: Guard | Health: %i | Armor: %i | Dollars: %i", Health, Armor, Dollars[id]);
}
}
}
}
}
Just don't execute the function if you don't want the info to show. Simple.