SA-MP Forums Archive
[Ajuda] Nгo ta aparecendo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Nгo ta aparecendo (/showthread.php?tid=373123)



Nгo ta aparecendo - Tony_Rodrigues - 29.08.2012

Tipo, o 3d text nгo esta aparecendo nos veiculos.. PQ?
pawn Код:
for(new i = 1; i < sizeof(Faggios); i++){
        vehicle3Dtext[Faggios[i]] = Create3DTextLabel("\n\n\n{FF6347} --> SERVER <--\n{FFFF00}-------------------\n{FF8000}Veiculo dos {00FF00}Civis!\n{FFFF00}------------------\n", AzulBB, 0.0, 0.0, 0.0, 50.0, 0, 1 );
        Attach3DTextLabelToVehicle(vehicle3Dtext[Faggios[i]], Faggios[i], 0.0, 0.0, 2.0);}
    Faggios[0] = AddStaticVehicle(462,1718.3583,-1603.1998,13.1388,355.5875,-1,-1); // Faggio CIVIL
    Faggios[1] = AddStaticVehicle(462,1719.9646,-1603.4481,13.1401,354.5810,-1,-1); // Faggio CIVIL
    Faggios[2] = AddStaticVehicle(462,1721.5115,-1603.8168,13.1394,357.3314,-1,-1); // Faggio CIVIL
    Faggios[3] = AddStaticVehicle(462,1723.1310,-1604.0573,13.1388,352.1516,-1,-1); // Faggio CIVIL
    Faggios[4] = AddStaticVehicle(462,1724.6431,-1604.3816,13.1373,356.7754,-1,-1); // Faggio CIVIL
    Faggios[5] = AddStaticVehicle(462,1726.3770,-1604.7649,13.1396,354.4797,-1,-1); // Faggio CIVIL



Re: Nгo ta aparecendo - Tony_Rodrigues - 29.08.2012

Alguem?


Re: Nгo ta aparecendo - .ThePro - 29.08.2012

Tente:

Код:
for(new i = 1; i < sizeof(Faggios); i++){
        vehicle3Dtext[Faggios[i]] = Create3DTextLabel("--> SERVER <--\n-------------------\nVeiculo dos Civis!\n------------------\n", AzulBB, 0.0, 0.0, 0.0, 50.0, 0, 1 );
        Attach3DTextLabelToVehicle(vehicle3Dtext[Faggios[i]], Faggios[i], 0.0, 0.0, 2.0);}
    Faggios[0] = AddStaticVehicle(462,1718.3583,-1603.1998,13.1388,355.5875,-1,-1); // Faggio CIVIL
    Faggios[1] = AddStaticVehicle(462,1719.9646,-1603.4481,13.1401,354.5810,-1,-1); // Faggio CIVIL
    Faggios[2] = AddStaticVehicle(462,1721.5115,-1603.8168,13.1394,357.3314,-1,-1); // Faggio CIVIL
    Faggios[3] = AddStaticVehicle(462,1723.1310,-1604.0573,13.1388,352.1516,-1,-1); // Faggio CIVIL
    Faggios[4] = AddStaticVehicle(462,1724.6431,-1604.3816,13.1373,356.7754,-1,-1); // Faggio CIVIL
    Faggios[5] = AddStaticVehicle(462,1726.3770,-1604.7649,13.1396,354.4797,-1,-1); // Faggio CIVIL



Re: Nгo ta aparecendo - humildadeforever - 29.08.2012

Tenta criar os veнculos primeiro e depois attachar
Aff, tб mto ruim de digitar, tem que ficar apagando os nъmeros que sai kkkkk

Senгo sai assim:

Te3nta cr4i8ar4 o9s ve3н8cu7lo9s p0r4me3i8r4o9 e3 de3o9i8s attachar4.


#Edit

E iguala a variavel a 0, se nao a primeira faggio с vai ter o text
pawn Код:
for(new i = 0; i < MAX_VEHICLES; i++)