14.07.2010, 15:40
pawn Код:
new Text3D:CarLabels[MAX_VEHICLES];
pawn Код:
for(new i = 0; i < MAX_VEHICLES; i++)
{
if(CarInfo[i][cOwned] == 1)
{
format(PropertyString,sizeof(PropertyString),"%d", CarInfo[i][cPlate]);
CarLabels[i] = Create3DTextLabel(PropertyString ,0x00FF00FF,CarInfo[i][cAngle], CarInfo[i][cPlate],CarInfo[i][cPlate],10, 0);
}
}
pawn Код:
format(string, sizeof(string), "%d", CarInfo[ownvehkey][cPlate]);
Update3DTextLabelText(CarLabels[ownvehkey], 0x00FF00FF, string);