15.04.2013, 00:49
(
Последний раз редактировалось EliteApple; 15.04.2013 в 04:36.
Причина: Updated
)
NEW;
When I /editcar park, some of my vehicles models change. And they're not suppose too. It's gotta do something with this;
I'm new to MySQLl so I'm not sure if I'm doing things right.
I'm trying to get the vehicle's information by using its ingame ID, and sometimes it gives me wrong stuff. Ideas?
When I /editcar park, some of my vehicles models change. And they're not suppose too. It's gotta do something with this;
pawn Код:
format(query, sizeof(query), "SELECT * FROM Vehicles WHERE carid=%d", vehicle);
mysql_query(query);
mysql_store_result();
mysql_fetch_row(row);
split(row, arrCoords, '|');
DestroyVehicle(vehicle);
new Carid = CreateVehicle(strval(arrCoords[1]), floatstr(arrCoords[2]), floatstr(arrCoords[3]), floatstr(arrCoords[4]), floatstr(arrCoords[5]), strval(arrCoords[6]), strval(arrCoords[7]), 60000);
I'm trying to get the vehicle's information by using its ingame ID, and sometimes it gives me wrong stuff. Ideas?