14.07.2010, 15:34
for(new i = 0; i < MAX_VEHICLES; i++)
{
if(CarInfo[i][cOwned] == 1)
{
Delete3DTextLabel(CarLabel);
format(PropertyString,sizeof(PropertyString),"%d", CarInfo[i][cPlate]);
CarLabel = Create3DTextLabel(PropertyString ,0x00FF00FF,CarInfo[i][cAngle], CarInfo[i][cPlate],CarInfo[i][cPlate],10, 0);
}
}
{
if(CarInfo[i][cOwned] == 1)
{
Delete3DTextLabel(CarLabel);
format(PropertyString,sizeof(PropertyString),"%d", CarInfo[i][cPlate]);
CarLabel = Create3DTextLabel(PropertyString ,0x00FF00FF,CarInfo[i][cAngle], CarInfo[i][cPlate],CarInfo[i][cPlate],10, 0);
}
}