Level problem
#1

So, i make system for donators but it dont work,

pawn Код:
// inside the register command (ondialogresponse)
dini_IntSet(file, "Level", 0);

                switch(pInfo[playerid][Level])
                {
                    case 0: SendClientMessage(playerid, COLOR_LIGHTBLUE, "you have logged in as regular player");
                    case 1: SendClientMessage(playerid, COLOR_LIGHTBLUE, "you have logged in as admin");
                    case 2: SendClientMessage(playerid, COLOR_LIGHTBLUE, "you have logged in as owner");
case 3: SendClientMessage(playerid, COLOR_LIGHTBLUE, "you have logged in as donator");
                }
in account file i set level as 3, i am admin i can use all the admin commands, help please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)