[Ajuda] Erro no sistema de registro em DOF2!
#1

Alguйm me ajuda a solucionar ? nгo consigo achar o erro, nгo foi copiando nada, apenas tentei fazer com o que aprendi!


PASTEBIN:

http://pastebin.com/V7EhWydS


Erros ao compilar:

PHP Code:
C:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(79) : error 017undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(95) : warning 225unreachable code
C
:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(105) : error 017undefined symbol "DOF2_SaveFiles"
C:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(107) : warning 217loose indentation
C
:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(303) : error 017undefined symbol "name"
C:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(311) : warning 217loose indentation
C
:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(325) : error 017undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(333) : error 017undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(336) : warning 217loose indentation
C
:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(343) : error 017undefined symbol "GetInt"
C:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(352) : warning 217loose indentation
C
:\Users\lucas\Documents\SA-MP\samp037_svr_R2-1-1_win32\gamemodes\lk1.pwn(354) : error 017undefined symbol "DIALOG_STYLE_PASSWORD"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
7 Errors

quem puder me ajudar, ficarei agradecido!
Reply
#2

Atualize suas includes;

Nгo й
Quote:

DOF2_SaveFiles

o correto й
Quote:

DOF2_SaveFile

"name" vocк estб pegando um nome, ou seja, a stock n existe...
Quote:

stock name(playerid)
{
new GetName[24];

GetPlayerName(playerid, GetName, sizeof(GetName));

return GetName;
}

Nгo й
Quote:

Player[playerid][Senha] = GetInt(arquivo, "Senha");

o correto й
Quote:

Player[playerid][Senha] = DOF2_GetInt(arquivo, "Senha");

Reply
#3

Quote:
Originally Posted by F1N4L
View Post
Atualize suas includes;

Nгo й


o correto й


"name" vocк estб pegando um nome, ou seja, a stock n existe...


Nгo й


o correto й
Nгo consigo achar um link atualizado da include, poderia me passar por favor ?

e os erros no "DIALOG_STYLE_PASSWORD" й por isso ?
Reply
#4

Exato, DIALOG_STYLE_PASSWORD й uma funзгo nativa do samp, atualize-as e isso serб resolvido.
https://www.sa-mp.com/download.php
Baixe o windows server... Copie as includes para o seu compilador e compile o gm.
Reply
#5

Quote:
Originally Posted by F1N4L
View Post
Exato, DIALOG_STYLE_PASSWORD й uma funзгo nativa do samp, atualize-as e isso serб resolvido.
https://www.sa-mp.com/download.php
Baixe o windows server... Copie as includes para o seu compilador e compile o gm.
Muito obrigado, nгo sabia que era nativo do samp, por isso eu tinha um pack de includes e substitui o a_samp.

muito obrigado pela ajuda mesmo.

Resolvido!
Reply


Forum Jump:


Users browsing this thread: