23.06.2010, 15:24
Well Here is Example, This Will Add Text: "Vehicle Owner: OwnerName" on every car which is in cars.cfg
FIND:
Change To
- Hope It Works Didn't Test..
FIND:
pawn Код:
for(new h = 184; h < sizeof(CarInfo); h++)
{
SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}
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);
}