27.03.2015, 17:36
Perhaps something similar to this?
pawn Код:
if(FRank[giveplayerid] == 1) format(string, sizeof(string), "You have promoted %s to the rank of %s(2)", GetNameEx(giveplayerid), FactionRank2[factionid]);
if(FRank[giveplayerid] == 2) format(string, sizeof(string), "You have promoted %s to the rank of %s(3)", GetNameEx(giveplayerid), FactionRank3[factionid]);
if(FRank[giveplayerid] == 3) format(string, sizeof(string), "You have promoted %s to the rank of %s(4)", GetNameEx(giveplayerid), FactionRank4[factionid]);
if(FRank[giveplayerid] == 4) format(string, sizeof(string), "You have promoted %s to the rank of %s(5)", GetNameEx(giveplayerid), FactionRank5[factionid]);
if(FRank[giveplayerid] == 5) format(string, sizeof(string), "You have promoted %s to the rank of %s(6)", GetNameEx(giveplayerid), FactionRank6[factionid]);
if(FRank[giveplayerid] == 6) format(string, sizeof(string), "You have promoted %s to the rank of %s(7)", GetNameEx(giveplayerid), FactionRank7[factionid]);