06.07.2013, 18:20
(
Последний раз редактировалось thimo; 06.07.2013 в 20:56.
)
Okay so i was working on my car loading wich doesnt work because of this:
What is wrong with this? The rest of the code:
pawn Код:
if(!sscanf(str, "d", integer))
pawn Код:
GetPlayerName(playerid, name, sizeof(name));
format(str, sizeof(str), "SELECT `HouseID` FROM `Houses` WHERE `Owner`='%s'", name);
mysql_query(str); //Send the query to the SQLite system integrated in SA:MP
mysql_get_field("HouseID", str); //Gets the first field of the row returned (HouseID)
if(!sscanf(str, "d", integer))
{
if(integer != 0) //Player has a house...
{