Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

I need help

$
0
0
Error

Code:

C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6242) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6244) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6246) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6248) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6274) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6289) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6304) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6320) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6328) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6336) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6350) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6353) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6355) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6358) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6360) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6362) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6364) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6365) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6366) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6367) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6368) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6369) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6370) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6371) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6372) : error 010: invalid function or declaration
C:\Users\PC\Desktop\test\Editando\GM\GM\gamemodes\ZonaGamer.pwn(6373) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Lines
Code:

        if(dialogid == Autos)
 {
        if(response)
 {
        switch (listitem)
        {
        case 0: {ShowPlayerDialog(playerid, Autos1, DIALOG_STYLE_LIST, "Autos generales.",
        "{369BED}Admiral\n\
        {369BED}Blade\n\
        {369BED}Blistac\n\
        {369BED}Bravura\n\
        {369BED}Broadway\n\
        {369BED}Buffalo\n\
        {369BED}Cadrona\n\
        {369BED}Cheetah\n\
        {369BED}Clover\n\
        {369BED}Comet\n\
        {369BED}CopCarla\n\
        {369BED}CopCarsf\n\
        {369BED}Elegant\n\
        {369BED}Elegy\n\
        {369BED}Glendale\n\
        {369BED}Manana\n\
        {369BED}Premier\n\
        {369BED}Sabre\n\
        {369BED}Savanna\n\
        {369BED}Taxi\n\
        {369BED}Voodoo\n\
        {369BED}Zr350\n\
        {369BED}Kart\n\
        {369BED}Mower\n\
        {369BED}Sweeper","Aceptar","Atras");}
        case 1: {ShowPlayerDialog(playerid, Autos2, DIALOG_STYLE_LIST, "Autos deportivos.",
        "{369BED}Alpha\n\
        {369BED}Banshee\n\
        {369BED}Bullet\n\
        {369BED}Comet\n\
        {369BED}Euros\n\
        {369BED}Hotrina\n\
        {369BED}Hotring\n\
        {369BED}Infernus {FFFF00}[Recomendado]\n\
        {369BED}Jester\n\
        {369BED}Phonix\n\
        {369BED}Sultan {FFFF00}[Recomendado]\n\
        {369BED}Supergt\n\
        {369BED}Turismo {FFFF00}[Recomendado]\n\
        {369BED}Uranus","Seleccionar","Atras");}
        case 2: {ShowPlayerDialog(playerid, Autos3, DIALOG_STYLE_LIST, "Motos y bicicletas",
        "{369BED}NRG-500 {FFFF00}[Recomendado]\n\
        {369BED}Faggio\n\
        {369BED}FCR-900\n\
        {369BED}PCJ-600\n\
        {369BED}Freeway\n\
        {369BED}BF-400\n\
        {369BED}PizzaBoy\n\
        {369BED}CopBike\n\
        {369BED}Sanchez\n\
        {369BED}Cuatrimoto\n\
        {369BED}Bike\n\
        {369BED}BMX {FFFF00}[Recomendado]\n\
        {369BED}Mountain Bike\n\
        {369BED}Wayfarer","Seleccionar","Atras");}
        case 3: {ShowPlayerDialog(playerid, Autos4, DIALOG_STYLE_LIST, "Camiones.",
        "{369BED}Ambulance\n\
        {369BED}Benson\n\
        {369BED}BobCat\n\
        {369BED}Burrito\n\
        {369BED}Bus\n\
        {369BED}Camper\n\
        {369BED}Coach\n\
        {369BED}FireTruck\n\
        {369BED}Patriot\n\
        {369BED}Rancher\n\
        {369BED}Walton\n\
        {369BED}Duneride\n\
        {369BED}Monster\n\
        {369BED}Verga Movil\n\
        {369BED}Dumper","Seleccionar","Atras");}
        case 4: {ShowPlayerDialog(playerid, Autos5, DIALOG_STYLE_LIST, "Aviones.",
        "{369BED}Rustler\n\
        {369BED}Dodo\n\
        {369BED}Nevada\n\
        {369BED}StuntPlane\n\
        {369BED}Beagle\n\
        {369BED}Skimer\n\
        {369BED}Shamal","Seleccionar","Atras");}
        case 5: {ShowPlayerDialog(playerid, Autos6, DIALOG_STYLE_LIST, "Helicópteros.",
        "{369BED}Cargobob\n\
        {369BED}Leviathn\n\
        {369BED}Maverick\n\
        {369BED}PolMav\n\
        {369BED}RainDanc\n\
        {369BED}VsnMav\n\
        {369BED}Sparrow","Seleccionar","Atras");}
        case 6: {ShowPlayerDialog(playerid, Autos7, DIALOG_STYLE_LIST, "Barcos y lanchas.",
        "{369BED}CoastGuard\n\
        {369BED}Dhingy\n\
        {369BED}JetMax\n\
        {369BED}Launch\n\
        {369BED}Marquis\n\
        {369BED}Predato\n\
        {369BED}Speedr\n\
        {369BED}Squalo\n\
        {369BED}Vortex\n\
        {369BED}Reefer","Seleccionar","Atras");
        }
        }
        }
        return 1;
        }

        if(dialogid == Autos1)
        {
        if(response == 0)
        {
        ShowPlayerDialog(playerid,Autos,DIALOG_STYLE_LIST, "{F20000}GH {FFFFFF}- Vehiculos:", "{EA2F17}• {FFFFFF}Autos Generales\n{E9523E}• {FFFFFF}Autos Deportivos\n{EE7565}• {FFFFFF}Motos y Bicicletas\n{EE9C91}• {FFFFFF}Camionetas\n{DEDE74}• {FFFFFF}Aviones\n{F2F229}• {FFFFFF}Helicópteros\n{FFFF00}• {FFFFFF}Barcos y Lanchas", "Seleccionar","Cancelar");
        return 1;
        }
        if(response)
        {
        switch (listitem)
        {
        case 0: {CarSpawner1(playerid,445);}
        case 1: {CarSpawner1(playerid,536);}
        case 2: {CarSpawner1(playerid,496);}
        case 3: {CarSpawner1(playerid,401);}
        case 4: {CarSpawner1(playerid,575);}
        case 5: {CarSpawner1(playerid,402);}
        case 6: {CarSpawner1(playerid,527);}
        case 7: {CarSpawner1(playerid,415);}
        case 8: {CarSpawner1(playerid,542);}
        case 9: {CarSpawner1(playerid,480);}
        case 10: {CarSpawner1(playerid,596);}
        case 11: {CarSpawner1(playerid,597);}
        case 12: {CarSpawner1(playerid,507);}
        case 13: {CarSpawner1(playerid,562);}
        case 14: {CarSpawner1(playerid,466);}
        case 15: {CarSpawner1(playerid,410);}
        case 16: {CarSpawner1(playerid,426);}
        case 17: {CarSpawner1(playerid,475);}
        case 18: {CarSpawner1(playerid,467);}
        case 19: {CarSpawner1(playerid,420);}
        case 20: {CarSpawner1(playerid,412);}
        case 21: {CarSpawner1(playerid,477);}
        case 22: {CarSpawner1(playerid,571);}
        case 23: {CarSpawner1(playerid,572);}
        case 24: {CarSpawner1(playerid,574);}
        }
        }
        return 1;
        }

        if(dialogid == Autos2)
        {
        if(response == 0)
        {
        ShowPlayerDialog(playerid,Autos,DIALOG_STYLE_LIST, "{F20000}GH {FFFFFF}- Vehiculos:", "{EA2F17}• {FFFFFF}Autos Generales\n{E9523E}• {FFFFFF}Autos Deportivos\n{EE7565}• {FFFFFF}Motos y Bicicletas\n{EE9C91}• {FFFFFF}Camionetas\n{DEDE74}• {FFFFFF}Aviones\n{F2F229}• {FFFFFF}Helicópteros\n{FFFF00}• {FFFFFF}Barcos y Lanchas", "Seleccionar","Cancelar");
        }
        if(response)
        {
        switch (listitem)
        {
        case 0: {CarSpawner1(playerid,602);}
        case 1: {CarSpawner1(playerid,429);}
        case 2: {CarSpawner1(playerid,541);}
        case 3: {CarSpawner1(playerid,480);}
        case 4: {CarSpawner1(playerid,587);}
        case 5: {CarSpawner1(playerid,502);}
        case 6: {CarSpawner1(playerid,494);}
        case 7: {CarSpawner1(playerid,411);}
        case 8: {CarSpawner1(playerid,559);}
        case 9: {CarSpawner1(playerid,603);}
        case 10: {CarSpawner1(playerid,560);}
        case 11: {CarSpawner1(playerid,506);}
        case 12: {CarSpawner1(playerid,451);}
        case 13: {CarSpawner1(playerid,558);}
        }
        }
        return 1;
        }

        if(dialogid == Autos3)
        {
        if(response == 0)
        {
        ShowPlayerDialog(playerid,Autos,DIALOG_STYLE_LIST, "{F20000}GH {FFFFFF}- Vehiculos:", "{EA2F17}• {FFFFFF}Autos Generales\n{E9523E}• {FFFFFF}Autos Deportivos\n{EE7565}• {FFFFFF}Motos y Bicicletas\n{EE9C91}• {FFFFFF}Camionetas\n{DEDE74}• {FFFFFF}Aviones\n{F2F229}• {FFFFFF}Helicópteros\n{FFFF00}• {FFFFFF}Barcos y Lanchas", "Seleccionar","Cancelar");
        }
        if(response)
        {
        switch (listitem)
        {
        case 0: {CarSpawner1(playerid,522);}
        case 1: {CarSpawner1(playerid,462);}
        case 2: {CarSpawner1(playerid,521);}
        case 3: {CarSpawner1(playerid,461);}
        case 4: {CarSpawner1(playerid,463);}
        case 5: {CarSpawner1(playerid,581);}
        case 6: {CarSpawner1(playerid,448);}
        case 7: {CarSpawner1(playerid,523);}
        case 8: {CarSpawner1(playerid,468);}
        case 9: {CarSpawner1(playerid,471);}
        case 10: {CarSpawner1(playerid,509);}
        case 11: {CarSpawner1(playerid,481);}
        case 12: {CarSpawner1(playerid,510);}
        case 13: {CarSpawner1(playerid,586);}
        }
        }
        return 1;
        }

        if(dialogid == Autos4)
        {
        if(response == 0)
        {
        ShowPlayerDialog(playerid,Autos,DIALOG_STYLE_LIST, "{F20000}GH {FFFFFF}- Vehiculos:", "{EA2F17}• {FFFFFF}Autos Generales\n{E9523E}• {FFFFFF}Autos Deportivos\n{EE7565}• {FFFFFF}Motos y Bicicletas\n{EE9C91}• {FFFFFF}Camionetas\n{DEDE74}• {FFFFFF}Aviones\n{F2F229}• {FFFFFF}Helicópteros\n{FFFF00}• {FFFFFF}Barcos y Lanchas", "Seleccionar","Cancelar");
        }
        if(response)
        {
        switch (listitem)
        {
        case 0: {CarSpawner1(playerid,416);}
        case 1: {CarSpawner1(playerid,499);}
        case 2: {CarSpawner1(playerid,422);}
        case 3: {CarSpawner1(playerid,482);}
        case 4: {CarSpawner1(playerid,431);}
        case 5: {CarSpawner1(playerid,483);}
        case 6: {CarSpawner1(playerid,437);}
        case 7: {CarSpawner1(playerid,407);}
        case 8: {CarSpawner1(playerid,470);}
        case 9: {CarSpawner1(playerid,489);}
        case 10: {CarSpawner1(playerid,578);}
        case 11: {CarSpawner1(playerid,573);}
        case 12: {CarSpawner1(playerid,444);}
        case 13: {CarSpawner1(playerid,423);}
        case 14: {CarSpawner1(playerid,406);}
        }
        }
        return 1;
        }

        if(dialogid == Autos5)
        {
        if(response == 0)
        {
        ShowPlayerDialog(playerid,Autos,DIALOG_STYLE_LIST, "{F20000}GH {FFFFFF}- Vehiculos:", "{EA2F17}• {FFFFFF}Autos Generales\n{E9523E}• {FFFFFF}Autos Deportivos\n{EE7565}• {FFFFFF}Motos y Bicicletas\n{EE9C91}• {FFFFFF}Camionetas\n{DEDE74}• {FFFFFF}Aviones\n{F2F229}• {FFFFFF}Helicópteros\n{FFFF00}• {FFFFFF}Barcos y Lanchas", "Seleccionar","Cancelar");
        }
        if(response)
        {
        switch (listitem)
        {
        case 0: {CarSpawner1(playerid,476);}
        case 1: {CarSpawner1(playerid,593);}
        case 2: {CarSpawner1(playerid,553);}
        case 3: {CarSpawner1(playerid,513);}
        case 4: {CarSpawner1(playerid,511);}
        case 5: {CarSpawner1(playerid,460);}
        case 6: {CarSpawner1(playerid,519);}
        }
        }
        return 1;
        }

        if(dialogid == Autos6)
        {
        if(response == 0)
        {
        ShowPlayerDialog(playerid,Autos,DIALOG_STYLE_LIST, "{F20000}GH {FFFFFF}- Vehiculos:", "{EA2F17}• {FFFFFF}Autos Generales\n{E9523E}• {FFFFFF}Autos Deportivos\n{EE7565}• {FFFFFF}Motos y Bicicletas\n{EE9C91}• {FFFFFF}Camionetas\n{DEDE74}• {FFFFFF}Aviones\n{F2F229}• {FFFFFF}Helicópteros\n{FFFF00}• {FFFFFF}Barcos y Lanchas", "Seleccionar","Cancelar");
        }
        if(response)
        {
        switch (listitem)
        {
        case 0: {CarSpawner1(playerid,548);}
        case 1: {CarSpawner1(playerid,417);}
        case 2: {CarSpawner1(playerid,487);}
        case 3: {CarSpawner1(playerid,497);}
        case 4: {CarSpawner1(playerid,563);}
        case 5: {CarSpawner1(playerid,488);}
        case 6: {CarSpawner1(playerid,469);}
        }
        }
        return 1;
        }

        if(dialogid == Autos7)
        {
        if(response == 0)        ShowPlayerDialog(playerid,Autos,DIALOG_STYLE_LIST, "{F20000}GH {FFFFFF}- Vehiculos:", "{EA2F17}• {FFFFFF}Autos Generales\n{E9523E}• {FFFFFF}Autos Deportivos\n{EE7565}• {FFFFFF}Motos y Bicicletas\n{EE9C91}• {FFFFFF}Camionetas\n{DEDE74}• {FFFFFF}Aviones\n{F2F229}• {FFFFFF}Helicópteros\n{FFFF00}• {FFFFFF}Barcos y Lanchas", "Seleccionar","Cancelar");
        if(response)
        {
        switch (listitem)
        {
        case 0: {CarSpawner1(playerid,472);}
        case 1: {CarSpawner1(playerid,473);}
        case 2: {CarSpawner1(playerid,493);}
        case 3: {CarSpawner1(playerid,595);}
        case 4: {CarSpawner1(playerid,484);}
        case 5: {CarSpawner1(playerid,430);}
        case 6: {CarSpawner1(playerid,452);}
        case 7: {CarSpawner1(playerid,446);}
        case 8: {CarSpawner1(playerid,539);}
        case 9: {CarSpawner1(playerid,453);}
        }
        }
        return 1;
        }


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>