22.06.2011, 16:59
hello.
what it's problem in this code:
It does not return the correct value.
please help !!
what it's problem in this code:
pawn Код:
stock GetServerInt(var[])
{
new query[256],vreturn[56];
format(query,256,"SELECT '%s' FROM 'server' WHERE Checked=50",var);
mysql_query(query);
mysql_store_result();
mysql_fetch_row_format(vreturn,"|");
return strval(vreturn);
}
please help !!