SA-MP Forums Archive
[Ajuda] ERRO GAME MODE - 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] ERRO GAME MODE (/showthread.php?tid=639105)



ERRO GAME MODE - henriqueTL - 11.08.2017

Bom fui tenta substituir uns codigos no meu game mode ai deu warning/erro

PHP код:
ERRO |> DOF2_SetString(arq,"Senha"inputtext); 
PHP код:
ERRO |> else ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Seja bem vindo!","{FF2222}Senha incorreta! For favor tente novamente...","Login","Sair"); 
Код:
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(868) : warning 217: loose indentation
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1032) : warning 202: number of arguments does not match definition
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1045) : warning 202: number of arguments does not match definition
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2151) : error 017: undefined symbol "inputtext"
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2211) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: ERRO GAME MODE - henriqueTL - 11.08.2017

alguйm?


Re: ERRO GAME MODE - Fakeger2 - 11.08.2017

Vocк tem certeza que estas linhas estгo na callback de dialogs(OnDialogResponse)?


Re: ERRO GAME MODE - Jonorusc - 12.08.2017

Pode ser que sua public estб sem o paramento inputtext

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])



Essa parte estб certa: DOF2_SetString(arq,"Senha", inputtext);


Re: ERRO GAME MODE - henriqueTL - 12.08.2017

Quote:
Originally Posted by Jonorusc
Посмотреть сообщение
Pode ser que sua public estб sem o paramento inputtext

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])



Essa parte estб certa: DOF2_SetString(arq,"Senha", inputtext);
Substituir mas nгo foi

Код:
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(868) : warning 217: loose indentation
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1032) : warning 202: number of arguments does not match definition
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1045) : warning 202: number of arguments does not match definition
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2151) : error 017: undefined symbol "inputtext"
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2211) : error 010: invalid function or declaration