[Request]Please
#7

Instead of this why not use this??
Код:
#define Trial_Admin 10 
#define Junior_Administrator 11 
#define General_Administrator 12 
#define Senior_Administrator 13 
#define Head_Administrator 14 
#define Community_Manager 15 
#define Co-Owner 16
Use this code instead of the above
Код:
stock RankLevelName(playerid)
{
	new RankLevelName[128];
	switch(PlayerInfo[playerid][pRank])
	{
		case 0: RankLevelName = "Player";
		case 1: RankLevelName= "Trial Moderator";
		case 2: RankLevelName= "Basic Moderator";
		case 3: RankLevelName= "Master Moderator";
		case 4: RankLevelName = "Senior Administrator";
		case 5: RankLevelName = "Proffesional Administrator";
		case 6: RankLevelName = "Lead Administrator";
		case 7: RankLevelName = "Head Administrator";
		case 8: RankLevelName= "Manager";
		case 9: RankLevelName = "Community Co-Owner";
		case 10: RankLevelName = "Community Owner";
	}
	return RankLevelName;
}
Replace this
Код:
This on PlayerSpawn 
if(PlayerInfo[playerid][pRank] == Trial_Admin) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == Junior_Administrator) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == General_Administrator) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == Senior_Administrator) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == Head_Administrator) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == Community_Manager) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == Co-Owner) 
{ 
//your things do here 
}
With this
Код:
This on PlayerSpawn 
if(PlayerInfo[playerid][pRank] == 0) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == 1) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == 2) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == 3) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == 4) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == 5) 
{ 
//your things do here 
} 
else if(PlayerInfo[playerid][pRank] == 6) 
{ 
//your things do here 
}
Reply


Messages In This Thread
[Request]Please - by astanalol - 13.12.2014, 00:31
Re: [Request]Please - by astanalol - 13.12.2014, 12:04
Re: [Request]Please - by astanalol - 13.12.2014, 14:35
Re: [Request]Please - by astanalol - 14.12.2014, 11:36
Re: [Request]Please - by astanalol - 14.12.2014, 13:38
Re: [Request]Please - by astanalol - 14.12.2014, 15:55
Re: [Request]Please - by TRTDM - 14.12.2014, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)