Attaching 3D to car
#3

Well Here is Example, This Will Add Text: "Vehicle Owner: OwnerName" on every car which is in cars.cfg
FIND:
pawn Код:
for(new h = 184; h < sizeof(CarInfo); h++)
{
    SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}
Change To
pawn Код:
new Text3D:Vehicle3D;
for(new h = 184; h < sizeof(CarInfo); h++)
{
    SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
    format(string, 40, "Vehicle Owner: %s",CarInfo[h][cOwner]);
    Vehicle3D = Create3DTextLabel(string, 0x32CD32AA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
    Attach3DTextLabelToVehicle(Vehicle3D,h, 0.0, 0.0, 1.0);
}
- Hope It Works Didn't Test..
Reply


Messages In This Thread
Attaching 3D to car - by Mr Dzx - 23.06.2010, 14:30
Re: Attaching 3D to car - by TTJJ - 23.06.2010, 15:01
Re: Attaching 3D to car - by Jofi - 23.06.2010, 15:24
Re: Attaching 3D to car - by Mr Dzx - 23.06.2010, 17:13
Re: Attaching 3D to car - by Antonio [G-RP] - 23.06.2010, 17:25
Re: Attaching 3D to car - by Mr Dzx - 23.06.2010, 18:41
Re: Attaching 3D to car - by Mr Dzx - 24.06.2010, 07:49
Re: Attaching 3D to car - by TouR - 24.06.2010, 08:14

Forum Jump:


Users browsing this thread: 1 Guest(s)