28.02.2019, 12:56
Crash detect doesn't show any error.
This is what the debug prints:
Variables are correctly passed. Strange because i tried even with:
And it doesn't work too.
This is what the debug prints:
Quote:
[14:55:54] ID: 0 [14:55:54] Garage X: -2347.253173 - Y: -1605.773193 - Z: 483.641113 - A: 521.176025 [14:55:54] Interior: 0 - VW: 0 [14:55:54] OnwerID: 0 - Owned: 0 [14:55:54] Price: 2500 - PSellPrice: 0 [14:55:54] Size: 2 [14:55:54] Name: - [14:55:54] Owner Name: - [14:55:54] Vault Money: 0 [14:55:54] Lock Mode: 0 [14:55:54] Password: - |
pawn Код:
new Query[1000];
format(Query, sizeof(Query), "INSERT INTO garages (ID, garageX, garageY, garageZ, garageA, garageInterior, garageVW, garageOwnerID, garageOwned, garagePrice, garagePlayerSellPrice, garageSize, garageName, garageOnwerName, garageVaultMoney, garageLockMode, garagePassword) VALUES (%d, %f, %f, %f, %f, %d, %d, %d, %d, %d, %d, %d, '%e', '%e', %d, %d, '%e')",
id, GarageData[id][garageX], GarageData[id][garageY], GarageData[id][garageZ], GarageData[id][garageA], GarageData[id][garageInterior], GarageData[id][garageVW], GarageData[id][garageOwnerID], GarageData[id][garageOwned], GarageData[id][garagePrice], GarageData[id][garagePlayerSellPrice], GarageData[id][garageSize], GarageData[id][garageName], GarageData[id][garageOwnerName], GarageData[id][garageVaultMoney], GarageData[id][garageLockMode], GarageData[id][garagePassword]);
db_query(GarageDB, Query);