21.04.2012, 21:20
Yo, im busy with a Vehicle System but i have now some problems..
In the morning it works perfect but now not.. The problem is the VehicleID
In the morning i had this
But now i got this..
To get/check the VehicleID i use
In the morning it works perfect but now not.. The problem is the VehicleID
In the morning i had this
Код:
[11:43:50] >> mysql_query( Connection handle: 1 ) [11:43:50] CMySQLHandler::Query(UPDATE `server_vehicles` SET `VehicleOwner`='For Sale', `VehiclePurchased`='0' WHERE `VehicleID` = '1') - Successfully executed. [12:01:22] >> mysql_query( Connection handle: 1 ) [12:01:22] CMySQLHandler::Query(UPDATE `server_vehicles` SET `VehicleOwner`='For Sale', `VehiclePurchased`='0' WHERE `VehicleID` = '2') - Successfully executed.
Код:
[23:18:37] >> mysql_query( Connection handle: 1 ) [23:18:37] CMySQLHandler::Query(UPDATE `server_vehicles` SET `VehicleOwner`='For Sale', `VehiclePurchased`='0' WHERE `VehicleID` = '44') - Successfully executed. [23:18:46] >> mysql_query( Connection handle: 1 ) [23:18:46] CMySQLHandler::Query(UPDATE `server_vehicles` SET `VehicleOwner`='For Sale', `VehiclePurchased`='0' WHERE `VehicleID` = '43') - Successfully executed.
pawn Код:
new vehicleidx = GetPlayerVehicleID(playerid);