[Pedido] Identar Codigo - 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: [Pedido] Identar Codigo (
/showthread.php?tid=399662)
Identar Codigo -
gabrielloko157 - 15.12.2012
to tentando desde ontem identar esse codigo
mais toda vez que eu coloco ele no gm da loose identation
alguem identa pra min ?
pawn Код:
new Placa[40];
for (new x; x <= MAX_VEHICLES; ++x)
{
if (IsASonsCar(x)) Placa = "{8B0000}SONS";
if (IsAMayansCar(x)) Placa = "{D15FEE}MAYANS";
if (IsABallasCar(x)) Placa = "{7D26CD}BALLAS";
if (IsAAztecaCar(x)) Placa = "{1E90FF}AZTECAS";
if (IsAVagosCar(x)) Placa = "{FFFF00}VAGOS";
if (IsAGrooveCar(x)) Placa = "{00FF00}GROOVE";
if (IsaLosTugasCar(x)) Placa = "{98FB98}PCC";
if (IsACVRLCar(x)) Placa = "{FF0000}CVRL";
if (IsATalCar(x)) Placa = "{FF1493}TALIBAN";
if (IsAAlCar(x)) Placa = "{FFD39B}ALQAEDA";
if (IsAHitCar(x)) Placa = "{828282}HITMANS";
if (IsABOPEsCar(x)) Placa = "{00008B}B.O.P.E";
if (IsAinterpolCar(x)) Placa = "{FF6347}INTERPOL";
if (IsAPCCar(x)) Placa = "{CD853F}P.CIVIL";
if (IsAExCar(x)) Placa = "{006400}EXERCITO";
if (IsAPFCar(x)) Placa = "{778899}PF";
if (IsACopCar(x)) Placa = "{6495ED}P.MILITAR";
if (IsAnAmbulanceCar(x)) Placa = "{B22222}SA:MU";
if (IsAGOVCar(x)) Placa = "{00BFFF}PREFEITURA";
if (IsATaxiCar(x)) Placa = "{FFA500}TAXISTA";
if (IsAJornalCar(x)) Placa = "{F08080}REPORTER";
if (IsACosaCar(x)) Placa = "{00FFFF}M.CN";
if (IsAYaCar(x)) Placa = "{104E8B}M.YKZ";
if (IsAMecCar(x)) Placa = "{ADD8E6}MECANICOS";
SetVehicleNumberPlate(x, Placa);
}
Re: Identar Codigo -
ViniBorn - 15.12.2012
Talvez o erro ocorra com os cуdigos anteriores, provavelmente OnGameModeInit