Level problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Level problem (
/showthread.php?tid=507052)
Level problem -
Ananisiki - 15.04.2014
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