13.05.2013, 22:57
pawn Код:
for(new i = 1; i < sizeof(CarInfo); i++)
{
CarInfo[i][ownedvehicle] = AddStaticVehicleEx(CarInfo[i][cModel],CarInfo[i][cLocationx],CarInfo[i][cLocationy],CarInfo[i][cLocationz],CarInfo[i][cAngle],CarInfo[i][cColorOne],CarInfo[i][cColorTwo],6000000);
SetVehicleToRespawn(CarInfo[i][ownedvehicle]);
}
for(new i = 1; i < sizeof(CarInfo); i++)
{
SetVehicleToRespawn(CarInfo[i][ownedvehicle]);
format(gstring, 256, "{FFFF33}Veнculo de {FFFFCC}%s{FFFF33}Modelo: {FFFFCC}%d", CarInfo[i][cOwner],CarInfo[i][cModel]);
TextVeH = Create3DTextLabel(gstring, -1, 0.0, 0.0, 0.0, 15.0, 0, 1);
Attach3DTextLabelToVehicle(TextVeH, CarInfo[i][ownedvehicle], 0.0, 0.0, 0.0+1);
}
Mais йla nao atualiza ao comprar o carro
Ajuda ai