17.12.2009, 21:01
pawn Код:
if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
new currank[64];
new string[128];
if(PlayerInfo[playerid][pRank] == 1) { currank = "Cadet"; }
else if(PlayerInfo[playerid][pRank] == 2) { currank = "Officer"; }
else if(PlayerInfo[playerid][pRank] == 3) { currank = "Senior Officer"; }
else if(PlayerInfo[playerid][pRank] == 4) { currank = "Sergeant"; }
else if(PlayerInfo[playerid][pRank] == 5) { currank = "Lieutenant"; }
else if(PlayerInfo[playerid][pRank] == 6) { currank = "Captain"; }
else if(PlayerInfo[playerid][pRank] == 7) { currank = "Deputy Chief"; }
else if(PlayerInfo[playerid][pRank] == 8) { currank = "Chief"; }
else { currank = "Cadet"; }
new string[128];
format(string, sizeof(string), "Welcome To Duty %s", currank);
SendClientMessage(playerid,COLOR_GREEN1337, string);