Posts: 111
Threads: 34
Joined: Jul 2009
Reputation:
0
Didn't mean this. Post whole function.
Posts: 110
Threads: 21
Joined: Jun 2009
Reputation:
0
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
else if(PlayerInfo[targetid][pRank] == 7 { rtext = "High Commanding Captain"; }
else if(PlayerInfo[targetid][pRank] == 8 { rtext = "Recruitment Officer"; }
else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Deputy Chief"; }
else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Chief"; }
else { rtext = "Cadet"; }
}
Posts: 110
Threads: 21
Joined: Jun 2009
Reputation:
0
Thats when i did yours :S
Posts: 111
Threads: 34
Joined: Jul 2009
Reputation:
0
You have to define rtext in the function.