18.03.2013, 21:19
Is the format correct or not?
pawn Код:
stock LoadVehicleFromSlot(playerid, slot)
{
new query[500];
format(query, sizeof(query), "SELECT * FROM `ownedvehicles` WHERE `owner` = '%s' AND `slot` = %d", GetName(playerid), slot);
mysql_function_query(dbHandle, query, true, "OnPlayerSpawnVehicle", "ii", playerid, slot);
return 1;
}