25.08.2014, 10:35
bom eu estou estudando e aprendendo a fazer sistemas para gms e me deparei com um erro :
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : error 017: undefined symbol "gPlayerName"
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
a linha e essa :
public OnPlayerConnect(playerid)
{
GetPlayerName(playerid,gPlayerName[playerid], MAX_PLAYER_NAME);
if (fexist(ObterINI(playerid))) {
ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_INPUT,""BRANCO"Login",""BRANCO"Digite sua senha abaixo para efetuar login.","logar","Quit");
}
else {
ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT,""BRANCO"Registrando",""BRANCO" Digite sua senha abaixo para registrar uma nova conta.","Registrar","Quit");
}
return 1;
}
gostaria de ajuda para resolver isso : Confused:
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : error 017: undefined symbol "gPlayerName"
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Desktop\Servidor Online sitebpo.tk\gamemodes\0.pwn(65) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
a linha e essa :
public OnPlayerConnect(playerid)
{
GetPlayerName(playerid,gPlayerName[playerid], MAX_PLAYER_NAME);
if (fexist(ObterINI(playerid))) {
ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_INPUT,""BRANCO"Login",""BRANCO"Digite sua senha abaixo para efetuar login.","logar","Quit");
}
else {
ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT,""BRANCO"Registrando",""BRANCO" Digite sua senha abaixo para registrar uma nova conta.","Registrar","Quit");
}
return 1;
}
gostaria de ajuda para resolver isso : Confused: