Compile error(warning 219: local variable "string" shadows a variable at a preceding level)
#7

This is the command:
pawn Code:
if (strcmp(cmd, "/stats", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (gPlayerLogged[playerid] != 0)
            {
                ShowStats(playerid,playerid);
                OnPlayerUpdateSafe(playerid);
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "   You are not logged in!");
            }
        }
        return 1;
    }
How i can make it show a msg box when i use it,the second PAWNOCODE on the first page is using msgbox items but it has no effect...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)