D:\GM0\gamemodes\gfdialog.pwn(4320) : error 036: empty statement D:\GM0\gamemodes\gfdialog.pwn(4321) : warning 217: loose indentation D:\GM0\gamemodes\gfdialog.pwn(4322) : error 004: function "ClearChatbox" is not implemented D:\GM0\gamemodes\gfdialog.pwn(433 : warning 217: loose indentation D:\GM0\gamemodes\gfdialog.pwn(4312) : warning 204: symbol is assigned a value that is never used: "string" D:\GM0\gamemodes\gfdialog.pwn(4562) : warning 217: loose indentation D:\GM0\gamemodes\gfdialog.pwn(4563) : error 017: undefined symbol "playerid" D:\GM0\gamemodes\gfdialog.pwn(4565) : error 017: undefined symbol "loginstring" D:\GM0\gamemodes\gfdialog.pwn(14517) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
public OnPlayerRequestClass(playerid, classid) { new string[768]; PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0); PlayerInfo[playerid][pModel] = Peds[classid][0]; if(IsPlayerNPC(playerid)) { SpawnPlayer(playerid); return 1; } if(RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1); { ClearChatbox(playerid, 10); { if (gPlayerAccount[playerid] != 0) { new jugador[64]; GetPlayerName(playerid,jugador,sizeof(jugador)); ShowPlayerDialog(playerid,logueo,DIALOG_STYLE_INPU T,"Loguear","Hola, tu usuario ya existe\n Introduze tu contraseсa para entrar","Loguear","Salir"); } else { new jugador[64]; GetPlayerName(playerid,jugador,sizeof(jugador)); ShowPlayerDialog(playerid,registro,DIALOG_STYLE_IN PUT,"Registro","Hola, no tienes cuenta en el servidor\n Por favor introduze una contraseсa para registrarte","Registro","Salir"); } } } return false; } |
if(IsPlayerConnected(i)) { if(SafeTime[i] == 1) { if(gPlayerAccount[i] == 1 && gPlayerLogged[i] == 0) { new jugadorlogin[64]; new jugador[128]; GetPlayerName(playerid,jugadorlogin,64); format(jugador,sizeof(jugador),"Bienvenido, %s\nAhora puede iniciar sesiуn:",jugadorlogin); ShowPlayerDialog(i,logueo,DIALOG_STYLE_INPUT,"Logu ear",loginstring,"Loguear","Salir"); } } |
stock ClearChatbox(playerid, lin) for (new n=0;n< lin ;n++) SendClientMessage(playerid,0," ");
GetPlayerName(playerid,jugadorlogin,64);
GetPlayerName(i,jugadorlogin,64);
ShowPlayerDialog(i,logueo,DIALOG_STYLE_INPUT,"Logu ear",loginstring,"Loguear","Salir");
ShowPlayerDialog(i,logueo,DIALOG_STYLE_INPUT,"Logu ear", jugador,"Loguear","Salir");
D:\GM0\gamemodes\gfdialog.pwn(4320) : error 036: empty statement D:\GM0\gamemodes\gfdialog.pwn(4321) : warning 217: loose indentation D:\GM0\gamemodes\gfdialog.pwn(433 : warning 217: loose indentation D:\GM0\gamemodes\gfdialog.pwn(4312) : warning 204: symbol is assigned a value that is never used: "string" D:\GM0\gamemodes\gfdialog.pwn(4562) : warning 217: loose indentation D:\GM0\gamemodes\gfdialog.pwn(14517) : warning 217: loose indentation D:\GM0\gamemodes\gfdialog.pwn(26205) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
stock ClearChatbox(playerid, lin) for (new n=0;n< lin ;n++) SendClientMessage(playerid,0," ");
if(RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1);
{
ClearChatbox(playerid, 10);
{
if (gPlayerAccount[playerid] != 0)
{
new jugador[64];
GetPlayerName(playerid,jugador,sizeof(jugador));
ShowPlayerDialog(playerid,logueo,DIALOG_STYLE_INPUT,"Loguear","Hola, tu usuario ya existe\n Introduze tu contraseсa para entrar","Loguear","Salir");
}
else //esta es la 4320
{
new jugador[64];
GetPlayerName(playerid,jugador,sizeof(jugador));
ShowPlayerDialog(playerid,registro,DIALOG_STYLE_INPUT,"Registro","Hola, no tienes cuenta en el servidor\n Por favor introduze una contraseсa para registrarte","Registro","Salir");
}
}
}
if(RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1);
{
ClearChatbox(playerid, 10);
if (gPlayerAccount[playerid] != 0)
{
ShowPlayerDialog(playerid,logueo,DIALOG_STYLE_INPUT,"Loguear","Hola, tu usuario ya existe\n Introduze tu contraseсa para entrar","Loguear","Salir");
}
else //esta es la 4320
{
ShowPlayerDialog(playerid,registro,DIALOG_STYLE_INPUT,"Registro","Hola, no tienes cuenta en el servidor\n Por favor introduze una contraseсa para registrarte","Registro","Salir");
}
}