GetStatu(playerid) { static str[24]; switch (PlayerInfo[playerid][pStatus]) { case 0: str = "Offline"; case 1: str = "Online"; } return str; }