13.03.2013, 18:03
This is error:
This is public white problem
This line 585:
Help me please
HTML Code:
C:\Users\Àíäðåé\Desktop\1\1\gamemodes\PlatinuM.pwn(585) : error 004: function "DateProp" is not implemented Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
HTML Code:
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; }
HTML Code:
DateProp(playerid);