[Ajuda] Erros . - 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] Erros . (
/showthread.php?tid=397963)
Erros . -
Wendell - 07.12.2012
pawn Код:
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\gm.pwn(785 -- 798) : error 075: input line too long (after substitutions)
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\gm.pwn(799) : warning 215: expression has no effect
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\gm.pwn(799) : error 001: expected token: ";", but found "}"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\gm.pwn(799) : error 017: undefined symbol "Abandonado"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\gm.pwn(799) : error 029: invalid expression, assumed zero
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\gm.pwn(799) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Linhas
pawn Код:
public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[])
{
if( dialogid == DIALOG_TELEPORTES && response )
{
switch( response )
{
case 0: return false;
case 1:
{
switch( listitem )
{
case 0: ShowPlayerDialog( playerid, DIALOG_TELEPORTES+1, DIALOG_STYLE_LIST,
"BLT* Stunts - ",
"{660000}Aeroporto Abandonado\n\
{660000}Fazenda Abandonada\n\
{660000}Car Park de Diversгo\n\
{660000}Aeroporto Las Venturas\n\
{660000}Aeroporto Los Santos\n\
{660000}Los Santos Praia\n\
{660000}Mont Chiliad\n\
{660000}Pirate Ship\n\
{660000}Quarry Ship\n\
{660000}Ponte Los Santos\n\
{660000}Aeroporto San Fiero\n\
{660000}Porta-Aviхes\n\
{660000}DownTown\n\
{660000}Ghost Twon", "*Ir*", "Voltar" );
Re: Erros . -
lukas_loky - 07.12.2012
Olha cara o seu erro eu nгo sei direito resolver rs, mas eu acho que vocк nгo precisa colocar esse {660000} todas essas vezes, sу 1 no comeзo jб e o suficiente
Re: Erros . -
TugaBR - 07.12.2012
Consertando o primeiro erro, conserta o resto.
Re: Erros . -
Wendell - 08.12.2012
Ajuda ae .
Re: Erros . -
Nice-.- - 08.12.2012
https://sampforum.blast.hk/showthread.php?tid=397831 Schocc Detected, Tб No Projeto e Jб Tem Nego Copiando HEUAHEUEHUAEH
Re: Erros . -
Wendell - 08.12.2012
cara tou tentando estudar , esse switch , mas deu erros .
Re: Erros . -
Nice-.- - 08.12.2012
Quote:
Originally Posted by Wendell
cara tou tentando estudar , esse switch , mas deu erros .
|
https://sampforum.blast.hk/showthread.php?tid=396596 satisfeito?
Re: Erros . -
EditPawn - 08.12.2012
Simples cara!
Ta ae
PHP код:
public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[])
{
if( dialogid == DIALOG_TELEPORTES && response )
{
if(response)
{
new StrDialog[1500];
strcat(StrDialog, "{660000}Aeroporto Abandonado\n {660000}Fazenda Abandonada\n{660000}Car Park de Diversгo\n{660000}Aeroporto Las Venturas\n{660000}Aeroporto Los Santos\n{660000}Los Santos Praia\n")
format(StrDialog, sizeof(StrDialog), "%s{660000}Mont Chiliad\n{660000}Pirate Ship\n{660000}Quarry Ship\n{660000}Ponte Los Santos\n{660000}Aeroporto San Fiero\n{660000}Porta-Aviхes\n{660000}DownTown\n{660000}Ghost Twon", StrDialog);
switch(listitem)
{
case 0: ShowPlayerDialog(playerid, DIALOG_TELEPORTES+1, DIALOG_STYLE_LIST, "BLT* Stunts - ", StrDialog, "*Ir*", "Voltar");
}
}
}
}
Se caso nгo aparecer a string toda com todos os teleportes, aumente as cйlulas em:
PHP код:
new StrDialog[1500];