17.03.2013, 02:18
pawn Код:
stock GetPlayerLinerunnerMissions(playerid)
{
new val[20];
new totalvalue;
format(Query,sizeof(Query),"SELECT `linerunner` FROM `playerinfo` WHERE `user` = '%s'", escpname(playerid));
mysql_query(Query);
mysql_store_result();
mysql_fetch_field("linerunner", val);//argument type mismatch (argument 1)
totalvalue = strval(val);
mysql_free_result();
return totalvalue;
}