invalid function or declaration
#2

You are using an else-if statement which is nested inside an IF statement.

pawn Код:
if (isnull(params))
    {
        ShowPlayerDialog(playerid,dstats,DIALOG_STYLE_MSGBOX, "%s", "Account: %s\nMoney: $%d\nKills: %d\nDeaths: %d",GetPlayerName(playerid),GetPlayerMoney(playerid),pInfo[playerid][Kills],pInfo[playerid][Deaths] "Close", "");
        if(IsPlayerConnected(id))
        {
            ShowPlayerDialog(playerid,dstats,DIALOG_STYLE_MSGBOX, "%s", "Account: %s\nMoney: $%d\nKills: %d\nDeaths: %d",GetPlayerName(id),GetPlayerMoney(id),pInfo[id][Kills],pInfo[id][Deaths] "Close", "");
        }
        else return SendClientMessage(playerid,0xFF000080,"Player has not logged in the server!");
    }
And what is this?
pawn Код:
sscanf(params, "u", id);
Reply


Messages In This Thread
invalid function or declaration - by Axey187 - 01.01.2015, 23:10
Re: invalid function or declaration - by AndySedeyn - 01.01.2015, 23:14
Re: invalid function or declaration - by Axey187 - 01.01.2015, 23:16
Re: invalid function or declaration - by Axey187 - 01.01.2015, 23:19
Re: invalid function or declaration - by AndySedeyn - 01.01.2015, 23:20
Re: invalid function or declaration - by Boot - 01.01.2015, 23:24
Re: invalid function or declaration - by Axey187 - 01.01.2015, 23:26
Re: invalid function or declaration - by Boot - 01.01.2015, 23:31
Re: invalid function or declaration - by AndySedeyn - 01.01.2015, 23:31

Forum Jump:


Users browsing this thread: 2 Guest(s)