argument type mismatch =(
#1

whats wrong? its supposed to show the members list =( :
Код:
if(dialogid == 28)
	    {
	    new p[256];
	    p=LoadMem(playerid);
	    ShowPlayerDialog(playerid, 29,"Members",p,"Ok","Cancel");
	    }
this is loadmem:
Код:
LoadMem(playerid)
{
	new q[128],mem[256];
	format(q,128,"SELECT * FROM ostats WHERE org=%d",org[playerid]);
	mysql_query(q);
	mysql_store_result();
	for(new i=0;i<mysql_num_rows();mysql_retrieve_row())
	    {
	    new tmp[32],s[128],field[3][32];
		mysql_fetch_row_format(q, "|");
        explode(q, field, "|");
		format(tmp,32,"%s",field[1]);
		format(s,128,"%s\n%s",s,tmp);
		format(mem,256,"s",s);
		}
	return mem;
}
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: 1 Guest(s)