27.07.2012, 15:06
Can someone tell me why when i try this code:
It return me error:
pawn Код:
new Query[128],money;
format(Query,sizeof(Query),"SELECT * FROM `users` WHERE username = '%s' LIMIT 1",PlayerName(playerid));
mysql_query(Query);
mysql_store_result();
mysql_retrieve_row();
mysql_get_field("Money",money);
SetPlayerMoney(playerid,money);
Код:
argument type mismatch (argument 1)