Problem with Level Name
#1

Guys i have problem with level name

Note: The Problem is the level name cant be display.

Here is the code.

I copy it from LuxAdmin its also the same
as on LuxAdmin.

Here is my admin system code (BUG LEVEL NAME):

pawn Code:
if(fexist(UserPath(playerid))) {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        #if defined AUTOLOGIN
            if(strcmp(tmpIP,pIP[playerid],true) == 0) {
                pLogged[playerid] = 1;
                SetPlayerScore(playerid,PlayerInfo[playerid][pScore]);
                GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
                if(PlayerInfo[playerid][pAdmin] > 0)
                {
                   switch(PlayerInfo[playerid][pAdmin])
                   {
                      case 1: AdmRank = "Trial Moderator";
                      case 2: AdmRank = "Moderator";
                      case 3: AdmRank = "Global Moderator";
                      case 4: AdmRank = "Trial Manager";
                      case 5: AdmRank = "Header Administrator";
                      case 6: AdmRank = "Senior Administrator";
                      case 7: AdmRank = "Junior Administrator";
                      case 8: AdmRank = "Scripter/Mapper";
                      case 9: AdmRank = "Co-Owner";
                   }
                   if(PlayerInfo[playerid][pAdmin] > 10)
                   {
                      AdmRank = "Server Owner";
                   }
                   new string[128];
                   new PlayerName[MAX_PLAYER_NAME];
                   GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
                   format(string,sizeof(string),"You have been automaticlly login | Level %d - %s -|",PlayerInfo[playerid][pAdmin],AdmRank);
                   SendClientMessage(playerid,COLOR_GREEN,string);
                   return 1;
                }
                return 1;
            }
        #endif
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""white"Login",""red"Note:"white"If this is not your account please leave to this account and create your own one.\n\n"white"Type your password below to login to your account","Login","Exit");
    } else {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""white"Register",""red"Note:"white"If you crash ingame your account will be save.\n\n"white"Type the password below to create new account","Register","Exit");
    }
LuxAdmin (BUG TOO):

Cant put the code here to long.

But please guys help me out
Reply


Messages In This Thread
Problem with Level Name - by GAMER_PS2 - 19.10.2011, 11:45
Re: Problem with Level Name - by nilanjay - 19.10.2011, 11:49
Re: Problem with Level Name - by GAMER_PS2 - 19.10.2011, 11:55
Re: Problem with Level Name - by nilanjay - 19.10.2011, 11:58
Re: Problem with Level Name - by Sascha - 19.10.2011, 12:02
Re: Problem with Level Name - by GAMER_PS2 - 19.10.2011, 12:12
Re: Problem with Level Name - by GAMER_PS2 - 19.10.2011, 12:17
Re: Problem with Level Name - by GAMER_PS2 - 20.10.2011, 08:45
Re: Problem with Level Name - by SuperViper - 20.10.2011, 14:28
Re: Problem with Level Name - by GAMER_PS2 - 21.10.2011, 09:20

Forum Jump:


Users browsing this thread: 2 Guest(s)