Quote:
Originally Posted by Busta
Hola gente, estuve intentando hacer un GM de 0 pero me tira estos errores:
Aqui los errores:
pawn Код:
C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(95) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(164) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(173) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(232) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(234) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(240) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(246) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(248) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(250) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(252) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(256) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(260) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(264) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(268) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(272) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(276) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(280) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(284) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(288) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(292) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(299) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(338) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(340) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(360) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(364) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(366) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(373) : error 010: invalid function or declaration C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(415) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(430) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(431) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(435) : warning 217: loose indentation C:\Users\usu\Documents\Server\Mi Server\gamemodes\Busta.pwn(436) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
23 Errors.
Aca las lineas:
pawn Код:
Linea 232- if(dialogid == SSexo) Linea 234- if(response == 0) Linea 240- if(response == 1) Linea 246- return 1; Linea 248- if(dialogid == SEdad) Linea 250- if(response) 252- if(listitem == 0) 256- else if(listitem == 1) 260- else if(listitem == 2) 264- else if(listitem == 3) 268- else if(listitem == 4) 272- else if(listitem == 5) 276- else if(listitem == 6) 280- else if(listitem == 7) 284- else if(listitem == 8) 288- else if(listitem == 9) 292- else if(listitem == 10) 299- return 1; 360- if(Informacion[playerid][Tutorial] == 0) 364- return 1; 366- if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) //LSPD spawn 373- return 1;
Gracias Por su ayuda!
|
pawn Код:
Linea 232- if(dialogid == SSexo)
Linea 234- if(response == 0)
Linea 240- if(response == 1)
Linea 248- if(dialogid == SEdad)
Linea 250- if(response)
Linea 256- else if(listitem == 1)
Linea 260- else if(listitem == 2)
Linea 264- else if(listitem == 3)
Linea 268- else if(listitem == 4)
Linea 272- else if(listitem == 5)
Linea 276- else if(listitem == 6)
Linea 280- else if(listitem == 7)
Linea 284- else if(listitem == 8)
Linea 288- else if(listitem == 9)
Linea 292- else if(listitem == 10)
Veo que tratas de hacer algo con un dialog, їestas usando else if? porque creo que es mбs facil con switch, te recomiendo que pases por aquн
PD: Solo ayudo en los diбlogos.