PDA

View Full Version : Level problem


Ananisiki
15/04/2014, 08:00 PM
So, i make system for donators but it dont work,


// 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