Halle Brotfische.
Ich habe da ein kleines problem...unzwar mein Stats buggt ein wenig rumm,..es geht um die ränge.
Hier ist der Code:
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)// Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "1"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "2"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "3"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "4"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "5"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "6"; }
else if(PlayerInfo[playerid][pRank] == 7) { rtext = "7"; }
else if(PlayerInfo[playerid][pRank] == 8) { rtext = "8"; }
else if(PlayerInfo[playerid][pRank] == 9) { rtext = "9"; }
else if(PlayerInfo[playerid][pRank] == 10) { rtext = "10"; }
else if(PlayerInfo[playerid][pRank] == 11) { rtext = "11"; }
else if(PlayerInfo[playerid][pRank] == 12) { rtext = "12"; }
else if(PlayerInfo[playerid][pRank] == 13) { rtext = "13"; }
else { rtext = "0"; }
}
so sieht meine Stats aus PWN:
format(string8, sizeof string7, "Rang: %d",rtext);
und hier ein Screen wie es Ingame aussieht: