GetPlayerVehicleID Help
#3

You use a variable attached to the vehicle ID that tracks the MySQL ID... It's not a good plan to assume that the MySQL ID can be used to even track the vehicle by it's ID. If you spawn another vehicle, it will take over the ID that's lowest.

VehicleMySQL[MAX_VEHICLES] and use that to track it's "ID". You can then use a for loop to find that car in the vehicle pool.
Reply


Messages In This Thread
GetPlayerVehicleID Help - by HidroDF - 02.09.2016, 19:40
Respuesta: GetPlayerVehicleID Help - by HidroDF - 02.09.2016, 22:01
Re: GetPlayerVehicleID Help - by Sew_Sumi - 02.09.2016, 22:51
Respuesta: GetPlayerVehicleID Help - by HidroDF - 02.09.2016, 23:10
Re: GetPlayerVehicleID Help - by venomlivno8 - 03.09.2016, 00:51
Re: GetPlayerVehicleID Help - by Sew_Sumi - 03.09.2016, 01:51
Re: GetPlayerVehicleID Help - by LongQuad - 03.09.2016, 18:01
Re: GetPlayerVehicleID Help - by Sew_Sumi - 03.09.2016, 19:02

Forum Jump:


Users browsing this thread: 1 Guest(s)