05.09.2013, 07:39
(
Последний раз редактировалось Tomer!.$; 05.09.2013 в 08:58.
)
The error I get:
The spoken function (I put "// Error line" after the line that shows the errors):
NOTE: Also look at post number #6 before you comment, I provided an important update.
PHP код:
error 035: argument type mismatch (argument 1)
PHP код:
GetStats(playerid)
{
new string[128],
pName[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "SELECT * FROM users WHERE username = '%s'", pName);
mysql_query(string);
mysql_store_result();
while(mysql_fetch_row(string))
{
mysql_fetch_int("admin", gPlayerInfo[playerid][pAdmin]); // Error line
}
mysql_free_result();
return 1;
}