30.01.2014, 02:18
pawn Код:
if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 0 *then plrank == faction1rankdef;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 1 *then plrank == faction1rank1;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 2 *then plrank == faction1rank2;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 3 *then plrank == faction1rank3;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 4 *then plrank == faction1rank4;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 5 *then plrank == faction1rank5;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 6 *then plrank == faction1rank6;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 7 *then plrank == faction1rank7;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 8 *then plrank == faction1rank8;
else if PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] == 9 *then plrank == faction1rank9;