Nothing is wrong there. Maybe a problem with your /makeadmin command. Try this
pawn Код:
CMD:makeadmin(playerid,params[])
{
if(IsPlayerAdmin(playerid) || pInfo[playerid][AdminLevel] >= 4)
{
new tid, tname[MAX_PLAYER_NAME], name[MAX_PLAYER_NAME], str[128], level;
if(sscanf(params,"ui",tid,level)) return SendClientMessage(playerid,-1,"[USAGE] /makeadmin [ID] [level 1 - 5]");
if(tid == INVALID_PLAYER_ID) return SendClientMessage(playerid,-1,"Player is not online!");
if(level > 5) return SendClientMessage(playerid,COLOR_RED,"Only level 1 - 5 only");
GetPlayerName(playerid,name,sizeof(name));
GetPlayerName(tid,tname,sizeof(tname));
format(str,sizeof(str),"`` Admin %s has made %s(%d) as an admin level %i",name,tname,tid,level);
pInfo[tid][Admin] = level;
SendClientMessageToAll(-1,str);
return 1;
}
return 1;
}