19.12.2011, 05:57
pawn Code:
vid = House_AddVehicle(HouseID, cModel, cPaint, cComponents, cx, cy, cz, crot, Col1, Col2);
new string[50];
format(string, 50, "Owner:{77FF00}%s",AVehicleData[vid][Owner]);
if(_:AVehicleData[vid][ZaText] != 0) Update3DTextLabelText(AVehicleData[vid][ZaText], 0xFFFFFFFF, string);
else
{
AVehicleData[vid][ZaText] = Create3DTextLabel(string,0xFF0000FF,cx,cy,cz,40,1);
Attach3DTextLabelToVehicle(AVehicleData[vid][ZaText],vid,0.0,0.0,0.4);
}
?