[Ajuda] Veiculo Civil
#1

pawn Код:
carroc2 = AddStaticVehicleEx(462,847.82550049,-2048.63427734,12.81718731,88.00000000,106,1,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,848.35162354,-2053.69433594,12.81718731,87.99499512,-1,1,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,848.25982666,-2059.15307617,12.81718731,87.99499512,1,1,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,848.42352295,-2043.54772949,13.26718044,87.99499512,53,1,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,841.02636719,-2064.16503906,12.46036720,1.99951172,1,1,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,837.39971924,-2064.37231445,12.43536377,1.99951172,6,3,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,843.15551758,-2064.21264648,12.43537140,1.99951172,85,3,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,835.73101807,-2064.33666992,12.43537140,357.99951172,7,3,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,831.86425781,-2064.36621094,12.48536682,1.99951172,16,3,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,829.99768066,-2064.35229492,12.46037865,357.99951172,-1,3,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,842.05236816,-2064.17504883,12.46036720,1.99951172,3,1,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,836.65496826,-2064.30688477,12.46036720,1.99951172,34,1,15); //Faggio
    carroc2 = AddStaticVehicleEx(462,830.88256836,-2064.39526367,12.46036720,1.99951172,40,1,15); //Faggio
   
    carroc[carroc2] = Create3DTextLabel( "{3AFF30}Make {58FFEE}Your {FFF428}Life\nVeiculo Civil", 0xFF0000AA, 0.0, 0.0, 0.0, 10.0, 0, 1 );
    Attach3DTextLabelToVehicle(carroc[carroc2], carroc2, 0.0, 0.0, 1.0);
Bom tava fasendo 3DTextLabel nos veiculo civil, achei que assim iria dar certo mais sу fuciona em 1 ;x, vou ter que definir 1 3DTextLabel para cada veiculo? :O
Reply
#2

Vocк estб usando apenas uma variбvel para criar todos esses veнculos.
Use uma multi.
pawn Код:
new carroc2[quantidade de veiculos];
//Exemplo:
new carroc2[12];
Reply
#3

pawn Код:
error 033: array must be indexed (variable "carroc2")
15 erros desse ;x
Reply
#4

pawn Код:
new carroc2[12];

carroc2[0] = AddStaticVehicleEx(params);
carroc2[1] = AddStaticVehicleEx(params);

//...
Reply
#5

certo,
pawn Код:
error 033: array must be indexed (variable "carroc2")
fico esses 2 nessas linha >
pawn Код:
carroc[carroc2] = Create3DTextLabel( "{3AFF30}Make {58FFEE}Your {FFF428}Life\nVeiculo Civil", 0xFF0000AA, 0.0, 0.0, 0.0, 10.0, 0, 1 );
    Attach3DTextLabelToVehicle(carroc[carroc2], carroc2, 0.0, 0.0, 1.0);
Reply
#6

ops fail
Reply
#7

mesma coisa..
Reply
#8

Troque:

pawn Код:
carroc[carroc2] = Create3DTextLabel( "{3AFF30}Make {58FFEE}Your {FFF428}Life\nVeiculo Civil", 0xFF0000AA, 0.0, 0.0, 0.0, 10.0, 0, 1 );
Por:

pawn Код:
new CivilLabel;
CivilLabel = Create3DTextLabel( "{3AFF30}Make {58FFEE}Your {FFF428}Life\nVeiculo Civil", 0xFF0000AA, 0.0, 0.0, 0.0, 10.0, 0, 1 );
_____

Troque:

pawn Код:
Attach3DTextLabelToVehicle(carroc[carroc2], carroc2, 0.0, 0.0, 1.0);
Por:

pawn Код:
Attach3DTextLabelToVehicle(CivilLabel, carroc2[15], 0.0, 0.0, 1.0);
//CivilLabel = 3DLabel que vai ser colocada no veiculo
//carroc2[15] = Veiculo(os) que vгo conter a 3DLabel
Sendo que em carroc2[15] - 15 = Numero de Veiculos de Civil.
Reply
#9

Mesmos erros kra,
Reply
#10

Mostra o codigos dos carros/labeз/news relacionados com os carros pff... -.-'
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)