20.06.2013, 01:47
desculpe pelo 2 є poste , eu tenho um antigo sistema de registro e tentei passar ele pra dof2 que nem fica os comandos em zcmd mas ta dificil aqui eu ainda to acabando mais presciso de ajuda vlw
eos erros
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
new aname[MAX_PLAYER_NAME];//5000, 0
//linha 91/* format(file, sizeof(file), P_CONTAS, aname);//defino aqui aonde o a conta do player
SetPlayerSkin(playerid,dini_Int(file, "Skin"));
PlayerInfo[playerid][Logado] = 0;
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2128.0952,35.1667,39.1944);
SetPlayerCameraPos(playerid,2106.9905,35.4213,35.5485);
SetPlayerCameraLookAt(playerid,2128.0952,35.1667,39.1944);
SetPlayerFacingAngle(playerid, 85.0331);
SetPlayerInterior(playerid, 0);
GetPlayerName(playerid, aname, sizeof(aname));
if(PlayerInfo[playerid][Logado] == 0)
{
dini_Exists DOF2_FileExists
{
format(STRX, sizeof(STRX), "Usuбrio: %s\nInsira uma senha:", aname);
ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_PASSWORD, "Registrar", STRX, "Registrar", "Sair");
SetPlayerSkin(playerid, 4);
}
dini_Exists DOF2_FileExists
{
format(STRX, sizeof(STRX), "Usuбrio: %s\nInsira sua senha:", aname);
ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Logar", STRX, "Logar", "Sair");
}
}
else {
SendClientMessage(playerid, Vermelho, "| KICK | Vocк foi kickado(a) por nгo se registrar / logar");
Kick(playerid);
}
return 1;
}
pawn Код:
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : error 017: undefined symbol "file"
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : error 017: undefined symbol "file"
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : error 029: invalid expression, assumed zero
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.