Help compiler pawno
#1

This error and warning:
Код HTML:
C:\Users\Àíäðåé\Desktop\1\1\gamemodes\PlatinuM.pwn(567) : warning 217: loose indentation
C:\Users\Àíäðåé\Desktop\1\1\gamemodes\PlatinuM.pwn(575) : error 004: function "DateProp" is not implemented
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
This public with problem :
Код HTML:
public OnPlayerLogin(playerid, password[])
{
    new string[512], PlayerName[40], Password[32];
    GetPlayerName(playerid, PlayerName, 40);
    format(string, 64, "accounts/%s.ini", PlayerName);
    if(fexist(string))
    {
            new iniFile = ini_openFile (string);
            ini_getString(iniFile, "Ïàðîëü", Password);
            if(!strcmp(Password, password, true))
            {
                HealthTime[playerid] = 10;
                ini_getInteger(iniFile, "Ëåâåë", PlayerInfo[playerid][pLevel]);
                ini_getInteger(iniFile, "Àäìèíêà", PlayerInfo[playerid][pAdmin]);
                ini_getInteger(iniFile, "Ðåãà", PlayerInfo[playerid][pReg]);
                ini_getInteger(iniFile, "Ïîë", PlayerInfo[playerid][pSex]);
                SetPVarInt(playerid,"Ïîë", PlayerInfo[playerid][pSex]);
                ini_getInteger(iniFile, "Ïðîïèñêà", PlayerInfo[playerid][pOrigin]);
                ini_getInteger(iniFile, "Ýêñïà", PlayerInfo[playerid][pExp]);
                ini_getInteger(iniFile, "Äåíüãè", PlayerInfo[playerid][pMoney]);
                ini_getInteger(iniFile, "Ñêèí", PlayerInfo[playerid][pModel]);
                ini_getInteger(iniFile, "Ñêèí2", PlayerInfo[playerid][pChar]);
                ini_getInteger(iniFile, "Èíòåðüåð", PlayerInfo[playerid][pInt]);
                ini_getInteger(iniFile, "Ðîçûñê", PlayerInfo[playerid][pWanted]);
                ini_closeFile(iniFile);
//==================================================================
            if(PlayerInfo[playerid][pWanted] > 0)
            {
                SendClientMessage(playerid,COLOR_YELLOW,string);
            }
            GiveMoney(playerid, PlayerInfo[playerid][pMoney]);
            SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
            Logged[playerid] = 1;
            SpawnPlayer(playerid);
            DateProp(playerid);
            return 1;
            }
            else
            {
                ini_closeFile(iniFile);
                SendClientMessage(playerid,COLOR_WHITE,"Ïîðîëü íå ïîäîù¸ë.Ïîïðîáóé åù¸.");
                format(string, 512, "{00cccc}Çäðàâñòâóé, %s!\n\n\
                - Òû çàøåë íà ñåðâåð PlatinuM I (0.3d) [RUS/UA/MD]\n\
                - Èãðîâîé ðåæèì: PlatinuM: LS/SF/LV (RPG)\n\
                - Äîìîâ: 671\n\
                - Áèçíåñîâ: 27\n\
                - Ñáèçíåñîâ: 18\n\
                - Ñàéò ñåðâåðà: PlatinuM-Rpg.Ru\n\n\
                Ýòîò àêêàóíò óæå çàðåãèñòðèðîâàí â ñèñòåìå.\n\n\
                Íàáåðè ïàðîëü äëÿ âõîäà íà ñåðâåð:", PlayerName);
                ShowPlayerDialog(playerid, DIALOG_LOGIN , DIALOG_STYLE_INPUT, "Àâòîðèçàöèÿ", string, "Âõîä","Îòìåíà");
                Logged[playerid] = 0;
                return 1;
            }
            }
            else
            {
                SendClientMessage(playerid,COLOR_LIGHTRED,"Ýòîò íèê íå {ff0000}çàðåãèñòðèðîâàí íà ýòîì ñåðâåðå!Çàðåãèñòðèðóéñÿ ïîæàëóéñòà.");
            }
    return 1;
}
Reply


Messages In This Thread
Help compiler pawno - by you_sity - 13.03.2013, 17:19
Re: Help compiler pawno - by Misiur - 13.03.2013, 17:25
Re: Help compiler pawno - by you_sity - 13.03.2013, 17:26
Re: Help compiler pawno - by MikeRep - 13.03.2013, 17:29
Re: Help compiler pawno - by you_sity - 13.03.2013, 17:30
Re: Help compiler pawno - by you_sity - 13.03.2013, 17:39

Forum Jump:


Users browsing this thread: 1 Guest(s)