argument type mismatch =(
#8

Quote:
Originally Posted by THE_KNOWN
Посмотреть сообщение
whats wrong? its supposed to show the members list =( :
pawn Код:
if(dialogid == 28)
{
        ShowPlayerDialog(playerid, 29,DIALOG_STYLE_MSGBOX,"Members",LoadMem(playerid),"Ok","Cancel");
}


LoadMem(playerid)
{
    new q[128];
    format(q,128,"SELECT * FROM ostats WHERE org=%d",org[playerid]); // shouldn't you only select Name or sth?
    mysql_query(q);
    mysql_store_result();
        new s[256],field[3][32];
        new idx=0;
    while(mysql_fetch_row_format(q,"|")
    {
                idx++;
                explode(q, field, "|");
        if(idx==1) format(s,256,"%s",field[1]);
        else format(s,256,"%s\n%s",s,field[1]);
    }
    return s;
}
Reply


Messages In This Thread
argument type mismatch =( - by THE_KNOWN - 09.02.2011, 13:09
Re: argument type mismatch =( - by HyperZ - 09.02.2011, 13:14
Re: argument type mismatch =( - by THE_KNOWN - 09.02.2011, 13:27
Re: argument type mismatch =( - by _Tommy - 09.02.2011, 13:50
Re: argument type mismatch =( - by THE_KNOWN - 09.02.2011, 14:01
Re: argument type mismatch =( - by duukjones - 09.02.2011, 14:41
Re: argument type mismatch =( - by THE_KNOWN - 09.02.2011, 15:15
Re: argument type mismatch =( - by wups - 11.02.2011, 10:41

Forum Jump:


Users browsing this thread: 2 Guest(s)