15.04.2014, 19:00
So, i make system for donators but it dont work,
in account file i set level as 3, i am admin i can use all the admin commands, help please
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");
}