07.04.2014, 07:05
I want to attach a 3D Label to a spawned vehicle. I tried creating a /setunit command and that didn't work out so well 
My question is how should I attach an assigned unit number underneath the car via an input dialog? The car has just spawned and I want to show an input dialog which they enter a number and it attaches it to the vehicle.
This is my first time dealing with them so please forgive my noob-ness
thanks in advance

My question is how should I attach an assigned unit number underneath the car via an input dialog? The car has just spawned and I want to show an input dialog which they enter a number and it attaches it to the vehicle.
pawn Код:
if (listitem == 0) // LSPD Car
{
policecar[playerid] = copcar[random(499)] = CreateVehicle(596,1568.7487,-1696.1331,5.6107,179.7715, 0, 1, 30000);
SetVehicleNumberPlate(policecar[playerid], "LSPD");
PutPlayerInVehicle(playerid, policecar[playerid], 0);
new lights, alarm, doors, bonnet, boot, objective;
SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, lights, alarm, doors, bonnet, boot, objective);
engineOn[policecar[playerid]] = true;
ccspawn[playerid] = 1;
}
