Vehicle ID
#1

My script:

new carname1[256];
new carname2[256];
new carname3[256];
new carname4[256];
new carname5[256];
if(PlayerInfo[playerid][PlayerVehicleModel1] != 0)
{
strmid(carname1, vehName[PlayerInfo[playerid][PlayerVehicleModel1]-400], 0, strlen(vehName[PlayerInfo[playerid][PlayerVehicleModel1]-400]), 255);
}
else
{
carname1 = "Empty";
}

- it's in the command "/mycars" everything works good but I want to show the vehicle id after the vehicle name.

For an example: Sultan [vehicle id] , Sultan [Car ID: 782]

ID number will he different for all players.
Reply


Messages In This Thread
Vehicle ID - by Tuntun - 25.12.2015, 03:46
Re: Vehicle ID - by xTURBOx - 25.12.2015, 09:28
Re: Vehicle ID - by KillerDVX - 25.12.2015, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)