15.09.2013, 23:15
Hello, I want to ask for help. How I can get the id of ownership vehicle.
This is cmd:
vehicleid returns me 111, but I need to get vInfo[something here][Id] which is 1, how I can get it? The vehicle is created like this:
This is cmd:
Код:
if(!strcmp(option, "park", true)) { new vehicleid = GetPlayerVehicleID(playerid);
Код:
vInfo[i][Vehicle] = CreateVehicle(vInfo[i][Model], vInfo[i][Pos][0], vInfo[i][Pos][1], vInfo[i][Pos][2]+0.5, vInfo[i][Pos][3], vInfo[i][Color][0], vInfo[i][Color][1], -1);