17.03.2013, 02:48
try this ..
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_get_field("linerunner", val);
totalvalue = strval(val);
mysql_free_result();
return totalvalue;
}