14.05.2011, 17:16
pawn Code:
else if(PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
{
if(PlayerInfo[playerid][pRank] == 1) return format(string, sizeof(string), "Cabo: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 2) return format(string, sizeof(string), "Sub-Tenente: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 3) return format(string, sizeof(string), "Capitгo: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 4) return format(string, sizeof(string), "Coronel: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 5) return format(string, sizeof(string), "Sub-Comandante: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 6) return format(string, sizeof(string), "Comandante Geral: %s", sendername);
}
// DAQUI PRA BAIXO ESTБ OK
else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)//GN Ranks
{
if(PlayerInfo[playerid][pRank] == 1) return format(string, sizeof(string), "Estagiбrio PRF %s", sendername);
else if(PlayerInfo[playerid][pRank] == 2) return format(string, sizeof(string), "Agente N1 PRF: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 3) return format(string, sizeof(string), "Agente N2 PRF: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 4) return format(string, sizeof(string), "NOE-PRF: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 5) return format(string, sizeof(string), "Sub-Delegado PRF: %s", sendername);
else if(PlayerInfo[playerid][pRank] == 6) return format(string, sizeof(string), "Delegado PRF: %s", sendername);
}