Get a field on OnPlayerEnterVehicle
#3

Thank's for post. But the problem is that, I allready have everything you said. I load vehicles using loop and every thing is just fine. But when i connect to server and i wan't to check if vehicle is locked i need to take information from the db. I need to SELECT the current vehicle's ID from the DB to get other fields using this:

pawn Код:
format(Query, sizeof(Query), "SELECT * FROM vehicles WHERE ID= %d", HERE_IS_SOMETHING_I_CANT_GET);
Reply


Messages In This Thread
Get a field on OnPlayerEnterVehicle - by ajwar - 21.12.2010, 10:19
Re: Get a field on OnPlayerEnterVehicle - by Rachael - 21.12.2010, 10:29
Re: Get a field on OnPlayerEnterVehicle - by ajwar - 21.12.2010, 10:43
Re: Get a field on OnPlayerEnterVehicle - by Rachael - 21.12.2010, 10:49
Re: Get a field on OnPlayerEnterVehicle - by ajwar - 21.12.2010, 10:57
Re: Get a field on OnPlayerEnterVehicle - by ajwar - 21.12.2010, 13:48
Re: Get a field on OnPlayerEnterVehicle - by ajwar - 25.12.2010, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)