help me
#2

Are you looking for something like this?

Код:
if(IsPlayerConnected(i) && playerData[i][playerLevel] >= 1 && playerData[i][playerLevel] < 7 && playerData[i][AHide] == 0)
{
        // If admin level is higher than 1, here it goes...
        if(playerData[i][playerAdminLevel] == 1){ // If playerAdminLevel is equal to 1
        
	        format(string, sizeof(string), "%s%s(%i) - Moderator", string, playerData[i][tempAdminName], i, playerData[i][playerLevel]);
	        
        }else if(playerData[i][playerAdminLevel] == 2){ 
        
	        format(string, sizeof(string), "%s%s(%i) - Higher Level Moderator", string, playerData[i][tempAdminName], i, playerData[i][playerLevel]);
	        
        }else{ // any other levels
        
        	format(string, sizeof(string), "%s%s(%i) - Level: %i\n", string, playerData[i][tempAdminName], i, playerData[i][playerLevel]);
        	
		}
		count ++;
}
Im confused by your use of "playerLevel" if i'm honest. is playerLevel the admin level of the player?
Reply


Messages In This Thread
help me - by PowerF - 15.09.2015, 09:29
Re: help me - by Darrenr - 15.09.2015, 09:46
Re: help me - by xVIP3Rx - 15.09.2015, 10:32

Forum Jump:


Users browsing this thread: 1 Guest(s)