Vehicle ID's
#1

Hello guys i have a little question.
Example:
Creating some car:
CreateVehicle(599, -1612.2976, 733.7708, -5.1298, 0.0000, -1, -1, 100);
CreateVehicle(598, -1616.3976, 733.7708, -5.1298, 0.0000, -1, -1, 100);
Their id is 599 and 598
Making printf:
printf("Vehicle: %d" , GetPlayerVehicleID(playerid));
But when i try to get The Vehicle id with GetPlayerVehicleID(playerid);
If i enter the car with id 599 it says it is id 1 because its created first
so when i get id 598 it says id is 2
So my question is how to make to show the real vehicle id?
Reply


Messages In This Thread
Vehicle ID's - by TheDeath - 25.07.2012, 20:33
Re: Vehicle ID's - by [KHK]Khalid - 25.07.2012, 20:44

Forum Jump:


Users browsing this thread: 1 Guest(s)