29.06.2013, 14:06
(
Last edited by Ricardo_Diaz; 29/06/2013 at 02:54 PM.
)
Уважаемые пользователи, помогите пожалуйста кто знает решение данной проблемы. Стоит мод на MySQL, но бывает что просто самопроизвольно вырубается. Подключил crashdetect, он показывает следующее (кидаю пару крашей):
Показывает ошибки постоянно в этом stock:
Code:
[14:40:21] Incoming connection: 89.204.43.11:2254 [14:40:21] [join] Vanek_Kireew has joined the server (4:89.204.43.11) [14:40:27] [death] Terry_Romano died 255 [14:40:38] 542, Ekaterina_Blondi, 0 [14:40:39] [debug] Server crashed while executing SLW.amx [14:40:39] [debug] AMX backtrace: [14:40:39] [debug] #0 00000030 in ?? () at C:\Users\Илюха\Documents\Проект №1\Сервер\Новая папка (3)\Samp-Rp.Ru\gamemodes\SLW.pwn:2 [14:40:39] [debug] #1 0019732c in OnPlayerLoginToServer (playerid=48, ... <30 variable arguments>) at C:\Users\Илюха\Documents\Проект №1\Сервер\Новая папка (3)\Samp-Rp.Ru\gamemodes\SLW.pwn:25726 [14:40:39] [debug] #2 00000030 in ?? () at C:\Users\Илюха\Documents\Проект №1\Сервер\Новая папка (3)\Samp-Rp.Ru\gamemodes\SLW.pwn:2 [14:40:39] [debug] System backtrace: [14:40:39] [debug] #0 00379ecb in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [14:40:39] [debug] #1 00371c69 in _ZN11CrashDetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so [14:40:39] [debug] #2 00373c99 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [14:40:39] [debug] #3 003799d8 in ?? () from plugins/crashdetect.so [14:40:39] [debug] #4 002d1410 in ?? () [14:40:39] [debug] #5 f445ec08 in ?? () from ђЇQ тw яяяя [14:40:39] [debug] #6 00373e1e in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [14:40:39] [debug] #7 003762de in ?? () from plugins/crashdetect.so [14:40:39] [debug] #8 080ae33f in ?? () from ./samp03svr [14:40:39] [debug] #9 080b97da in ?? () from ./samp03svr [14:40:39] [debug] #10 08071ae8 in ?? () from ./samp03svr [14:40:39] [debug] #11 08071be2 in ?? () from ./samp03svr [14:40:39] [debug] #12 0807ba00 in ?? () from ./samp03svr [14:40:39] [debug] #13 080b59ad in ?? () from ./samp03svr [14:40:39] [debug] #14 080b5b42 in ?? () from ./samp03svr [14:40:39] [debug] #15 080b1453 in ?? () from ./samp03svr [14:40:39] [debug] #16 0046bce6 in __libc_start_main () from /lib/libc.so.6 [14:40:39] [debug] #17 0804b521 in ?? () from ./samp03svr ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3x, ©2005-2013 SA-MP Team
Code:
[15:32:27] [kill] Roberto_Suarez killed Mark_Ellis Shotgun [15:32:29] [chat] [Mark_Ellis]: ( [15:32:31] [chat] [Roberto_Suarez]: ) [15:32:32] Incoming connection: 188.18.203.85:3576 [15:32:32] [join] Vanek_Kireew has joined the server (6:188.18.203.85) [15:32:37] 269, DaNkA, 0 [15:32:42] [debug] Server crashed while executing SLW.amx [15:32:42] [debug] AMX backtrace: [15:32:42] [debug] #0 00000030 in ?? () at C:\Users\Илюха\Documents\Проект №1\Сервер\Новая папка (3)\Samp-Rp.Ru\gamemodes\SLW.pwn:2 [15:32:42] [debug] #1 0019732c in OnPlayerLoginToServer (playerid=48, ... <30 variable arguments>) at C:\Users\Илюха\Documents\Проект №1\Сервер\Новая папка (3)\Samp-Rp.Ru\gamemodes\SLW.pwn:25726 [15:32:42] [debug] #2 00000030 in ?? () at C:\Users\Илюха\Documents\Проект №1\Сервер\Новая папка (3)\Samp-Rp.Ru\gamemodes\SLW.pwn:2 [15:32:42] [debug] System backtrace: [15:32:42] [debug] #0 00253ecb in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [15:32:42] [debug] #1 0024bc69 in _ZN11CrashDetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so [15:32:42] [debug] #2 0024dc99 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [15:32:42] [debug] #3 002539d8 in ?? () from plugins/crashdetect.so [15:32:42] [debug] #4 003cc410 in ?? () [15:32:42] [debug] #5 f445ec08 in ?? () from АmҐ ч– яяяя [15:32:42] [debug] #6 0024de1e in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [15:32:42] [debug] #7 002502de in ?? () from plugins/crashdetect.so [15:32:42] [debug] #8 080ae33f in ?? () from ./samp03svr [15:32:42] [debug] #9 080b97da in ?? () from ./samp03svr [15:32:42] [debug] #10 08071ae8 in ?? () from ./samp03svr [15:32:42] [debug] #11 08071be2 in ?? () from ./samp03svr [15:32:42] [debug] #12 0807ba00 in ?? () from ./samp03svr [15:32:42] [debug] #13 080b59ad in ?? () from ./samp03svr [15:32:42] [debug] #14 080b5b42 in ?? () from ./samp03svr [15:32:42] [debug] #15 080b1453 in ?? () from ./samp03svr [15:32:42] [debug] #16 00cd3ce6 in __libc_start_main () from /lib/libc.so.6 [15:32:42] [debug] #17 0804b521 in ?? () from ./samp03svr ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3x, ©2005-2013 SA-MP Team
Code:
stock OnPlayerLoginToServer(playerid) { new tmp2[256]; new string[300]; new playername2[MAX_PLAYER_NAME]; format(string, sizeof(string), "SELECT * FROM `accounts` WHERE name = '%s'",Name(playerid)); mysql_query(string); mysql_store_result(); if(mysql_fetch_row_format(string)) { BaseGetInt("pID", PlayerIDs[playerid]); BaseGetInt("pLevel", PlayerInfo[playerid][pLevel]); BaseGetInt("pPhousekey", PlayerInfo[playerid][pPhousekey]); BaseGetInt("pPbiskey", PlayerInfo[playerid][pPbiskey]); BaseGetInt("pAdmin", PlayerInfo[playerid][pAdmin]); BaseGetInt("pHelper", PlayerInfo[playerid][pHelper]); BaseGetInt("pForma", PlayerInfo[playerid][pForma]); BaseGetInt("pJobHeal", PlayerInfo[playerid][pJobHeal]); BaseGetInt("pJobHealLeader", PlayerInfo[playerid][pJobHealLeader]); BaseGetFloat("pFuelcar", PlayerInfo[playerid][pFuelcar]); BaseGetInt("pText", PlayerInfo[playerid][pText]); BaseGetInt("pPodarok1", PlayerInfo[playerid][pPodarok][0]); BaseGetInt("pPodarok2", PlayerInfo[playerid][pPodarok][1]); BaseGetInt("pHP", PlayerInfo[playerid][pHP]); BaseGetInt("pSatiety", PlayerInfo[playerid][pSatiety]); BaseGet("pKeyip", PlayerInfo[playerid][pKeyip]); BaseGet("pEmail", PlayerInfo[playerid][pEmail]); BaseGetInt("pCheckip", PlayerInfo[playerid][pCheckip]); BaseGetInt("pReg", PlayerInfo[playerid][pReg]); BaseGetInt("pTut", PlayerInfo[playerid][pTut]); BaseGetInt("pGod", PlayerInfo[playerid][pGod]); BaseGetInt("pMes", PlayerInfo[playerid][pMes]); BaseGet("pDataReg", PlayerInfo[playerid][pDataReg]); BaseGetInt("pVhoddata", PlayerInfo[playerid][pVhoddata]); BaseGetInt("pVhodMes", PlayerInfo[playerid][pVhodMes]); BaseGetInt("pVhodchas", PlayerInfo[playerid][pVhodchas]); BaseGetInt("pVhodminute", PlayerInfo[playerid][pVhodminute]); BaseGetInt("pPhoneBook", PlayerInfo[playerid][pPhoneBook]); BaseGetInt("pDirectory", PlayerInfo[playerid][pDirectory]); BaseGetInt("pAlcoholPerk", PlayerInfo[playerid][pAlcoholPerk]); BaseGet("pIp", PlayerInfo[playerid][pIp]); BaseGet("pvIp", PlayerInfo[playerid][pvIp]); BaseGet("pIpReg", PlayerInfo[playerid][pIpReg]); BaseGetInt("pCar", PlayerInfo[playerid][pCar]); BaseGetInt("pDonatechet", PlayerInfo[playerid][pDonatechet]); BaseGetInt("pDonatemoney", PlayerInfo[playerid][pDonatemoney]); BaseGetInt("pDonateRank", PlayerInfo[playerid][pDonateRank]); BaseGetInt("pSex", PlayerInfo[playerid][pSex]); BaseGetInt("pArrested", PlayerInfo[playerid][pArrested]); BaseGetInt("pMuted", PlayerInfo[playerid][pMuted]); BaseGetInt("pCrimes", PlayerInfo[playerid][pCrimes]); BaseGetInt("pExp", PlayerInfo[playerid][pExp]); BaseGetInt("pCash", PlayerInfo[playerid][pCash]); BaseGetInt("pKills", PlayerInfo[playerid][pKills]); BaseGetInt("pDeaths", PlayerInfo[playerid][pDeaths]); BaseGetInt("pPayCheck", PlayerInfo[playerid][pPayCheck]); BaseGetInt("pJailed", PlayerInfo[playerid][pJailed]); BaseGetInt("pCheat", PlayerInfo[playerid][pCheat]); BaseGetInt("pJailTime", PlayerInfo[playerid][pJailTime]); BaseGetInt("pMats", PlayerInfo[playerid][pMats]); BaseGetInt("pDrugs", PlayerInfo[playerid][pDrugs]); BaseGetInt("pLeader", PlayerInfo[playerid][pLeader]); BaseGetInt("pMember", PlayerInfo[playerid][pMember]); BaseGetInt("pRank", PlayerInfo[playerid][pRank]); BaseGetInt("pJob", PlayerInfo[playerid][pJob]); BaseGetInt("pCarLic", PlayerInfo[playerid][pCarLic]); BaseGetInt("pBizLic", PlayerInfo[playerid][pBizLic]); BaseGetInt("pFlyLic", PlayerInfo[playerid][pFlyLic]); BaseGetInt("pBoatLic", PlayerInfo[playerid][pBoatLic]); BaseGetInt("pFishLic", PlayerInfo[playerid][pFishLic]); BaseGetInt("pGunLic", PlayerInfo[playerid][pGunLic]); BaseGetInt("pSlot1", PlayerInfo[playerid][pSlot1]); BaseGetInt("pSlot2", PlayerInfo[playerid][pSlot2]); BaseGetInt("pSlot3", PlayerInfo[playerid][pSlot3]); BaseGetInt("pSlot4", PlayerInfo[playerid][pSlot4]); BaseGetInt("pSlot5", PlayerInfo[playerid][pSlot5]); BaseGetInt("pSlot6", PlayerInfo[playerid][pSlot6]); BaseGetInt("pSlot7", PlayerInfo[playerid][pSlot7]); BaseGetInt("pSlot8", PlayerInfo[playerid][pSlot8]); BaseGetInt("pSlot9", PlayerInfo[playerid][pSlot9]); BaseGetInt("pSlot10", PlayerInfo[playerid][pSlot10]); BaseGetInt("pSlot11", PlayerInfo[playerid][pSlot11]); BaseGetInt("pSlotammo1", PlayerInfo[playerid][pSlotammo1]); BaseGetInt("pSlotammo2", PlayerInfo[playerid][pSlotammo2]); BaseGetInt("pSlotammo3", PlayerInfo[playerid][pSlotammo3]); BaseGetInt("pSlotammo4", PlayerInfo[playerid][pSlotammo4]); BaseGetInt("pSlotammo5", PlayerInfo[playerid][pSlotammo5]); BaseGetInt("pSlotammo6", PlayerInfo[playerid][pSlotammo6]); BaseGetInt("pSlotammo7", PlayerInfo[playerid][pSlotammo7]); BaseGetInt("pSlotammo8", PlayerInfo[playerid][pSlotammo8]); BaseGetInt("pSlotammo9", PlayerInfo[playerid][pSlotammo9]); BaseGetInt("pSlotammo10", PlayerInfo[playerid][pSlotammo10]); BaseGetInt("pSlotammo11", PlayerInfo[playerid][pSlotammo11]); BaseGetInt("pGunSkill1", PlayerInfo[playerid][pGunSkill][0]); BaseGetInt("pGunSkill2", PlayerInfo[playerid][pGunSkill][1]); BaseGetInt("pGunSkill3", PlayerInfo[playerid][pGunSkill][2]); BaseGetInt("pGunSkill4", PlayerInfo[playerid][pGunSkill][3]); BaseGetInt("pGunSkill5", PlayerInfo[playerid][pGunSkill][4]); BaseGetInt("pGunSkill6", PlayerInfo[playerid][pGunSkill][5]); BaseGetInt("ptaxiexp", PlayerInfo[playerid][ptaxiexp]); BaseGetInt("ptaxilvl", PlayerInfo[playerid][ptaxilvl]); BaseGetInt("pDLevel", PlayerInfo[playerid][pDLevel]); BaseGetInt("pDExp", PlayerInfo[playerid][pDExp]); BaseGetInt("pDMgruz", PlayerInfo[playerid][pDMgruz]); BaseGetInt("pDgruz", PlayerInfo[playerid][pDgruz]); BaseGetInt("pKazpay", PlayerInfo[playerid][pKazpay]); BaseGetInt("pChar", PlayerInfo[playerid][pChar][0]); BaseGetInt("pChar1", PlayerInfo[playerid][pChar][1]); BaseGetInt("pChar2", PlayerInfo[playerid][pChar][2]); BaseGetInt("pViborChar", PlayerInfo[playerid][pViborChar]); BaseGetFloat("pSHealth", PlayerInfo[playerid][pSHealth]); BaseGetFloat("pHealth", PlayerInfo[playerid][pHealth]); BaseGetInt("pInt", PlayerInfo[playerid][pInt]); BaseGetInt("pLocal", PlayerInfo[playerid][pLocal]); BaseGetInt("pModel", PlayerInfo[playerid][pModel]); BaseGetInt("pPnumber", PlayerInfo[playerid][pPnumber]); BaseGetInt("pPayDay", PlayerInfo[playerid][pPayDay]); BaseGetInt("pPayDayHad", PlayerInfo[playerid][pPayDayHad]); BaseGetInt("pWarns", PlayerInfo[playerid][pWarns]); BaseGetInt("punWarns", PlayerInfo[playerid][punWarns]); BaseGetInt("punWarnstime", PlayerInfo[playerid][punWarnstime]); BaseGetInt("pFuel", PlayerInfo[playerid][pFuel]); BaseGetInt("pMarried", PlayerInfo[playerid][pMarried]); BaseGet("pDrug", PlayerInfo[playerid][pDrug]); BaseGet("pMarriedTo", PlayerInfo[playerid][pMarriedTo]); BaseGetInt("pMushrooms", PlayerInfo[playerid][pMushrooms]); BaseGetInt("pMuteTime", PlayerInfo[playerid][pMuteTime]); BaseGetInt("pMobile", PlayerInfo[playerid][pMobile]); BaseGetInt("pBank", PlayerInfo[playerid][pBank]); BaseGetInt("pLocked", PlayerInfo[playerid][pLocked]); BaseGetInt("pBanDay", PlayerInfo[playerid][pBanDay]); BaseGetInt("pBanMounth", PlayerInfo[playerid][pBanMounth]); BaseGetInt("pDolg", PlayerInfo[playerid][pDolg]); BaseGetInt("pKrisha", PlayerInfo[playerid][pKrisha]); BaseGetInt("pUseKrisha", PlayerInfo[playerid][pUseKrisha]); BaseGetInt("pBoxSkill", PlayerInfo[playerid][pBoxSkill]); BaseGetInt("pKongfuSkill", PlayerInfo[playerid][pKongfuSkill]); BaseGetInt("pKickboxSkill", PlayerInfo[playerid][pKickboxSkill]); BaseGet("pDostup", PlayerInfo[playerid][pDostup]); BaseGetInt("pFishes", PlayerInfo[playerid][pFishes]); BaseGetInt("pZakonp", PlayerInfo[playerid][pZakonp]); BaseGetInt("pAddiction", PlayerInfo[playerid][pAddiction]); BaseGetInt("pNarcoLomka", PlayerInfo[playerid][pNarcoLomka]); BaseGetInt("pProcents", PlayerInfo[playerid][pProcents]); BaseGetInt("pWheels", PlayerInfo[playerid][pWheels]); BaseGetInt("pPaintJob", PlayerInfo[playerid][pPaintJob]); BaseGetInt("pSpoiler", PlayerInfo[playerid][pSpoiler]); BaseGetInt("pBumper1", PlayerInfo[playerid][pBumper1]); BaseGetInt("pBumper2", PlayerInfo[playerid][pBumper2]); BaseGetInt("pColor1", PlayerInfo[playerid][pColor][0]); BaseGetInt("pColor2", PlayerInfo[playerid][pColor][1]); BaseGetInt("pNitro", PlayerInfo[playerid][pNitro]); BaseGetInt("pHydrawlic", PlayerInfo[playerid][pHydrawlic]); BaseGetInt("pAvtomas", PlayerInfo[playerid][pAvtomas]); BaseGetInt("pMestoJail", PlayerInfo[playerid][pMestoJail]); BaseGetInt("pSong", PlayerInfo[playerid][pSong]); BaseGetInt("pHousecash", PlayerInfo[playerid][pHousecash]); BaseGetInt("pKvartiraKey", PlayerInfo[playerid][pKvartirakey]); BaseGetInt("pWantedLevel", PlayerInfo[playerid][pWantedLevel]); BaseGetInt("pChas", PlayerInfo[playerid][pChas]); BaseGetInt("pMin", PlayerInfo[playerid][pMin]); BaseGetInt("pSkilla", PlayerInfo[playerid][pSkilla]); mysql_free_result(); PlayerInfo[playerid][pLogin] = 1; format(string, sizeof(string), "UPDATE accounts SET pLogin = '%d' WHERE name = '%s'",PlayerInfo[playerid][pLogin],Name(playerid)); mysql_query(string); } if(PlayerInfo[playerid][pLocked] == 1) { if(PlayerInfo[playerid][pBanDay] == 0) ShowPlayerDialogEx(playerid,69,DIALOG_STYLE_MSGBOX, "{B20000}Внимание","{FF6347}Этот аккаунт заблокирован\nДата разбана: Никогда\n\nВведите '/q', чтобы выйти", "Закрыть", ""), Kick(playerid); else { new year, month,day; getdate(year, month, day); if(PlayerInfo[playerid][pBanDay] <= day && PlayerInfo[playerid][pBanMounth] <= month) { PlayerInfo[playerid][pBanDay] = 0; PlayerInfo[playerid][pLocked] = 0; SendClientMessage(playerid,COLOR_GREEN,"Ваш аккаунт был разбанен. Перезайдите в игру"); Kick(playerid); } else { format(tmp2,sizeof(tmp2), "{FF6347}Этот аккаунт заблокирован\nДата разбана: %d/%d/%d\n\nВведите '/q', чтобы выйти",PlayerInfo[playerid][pBanDay],PlayerInfo[playerid][pBanMounth],year); ShowPlayerDialogEx(playerid,69,DIALOG_STYLE_MSGBOX, "{B20000}Внимание",tmp2, "Закрыть", ""); Kick(playerid); } } } new playersip[40]; GetPlayerIp(playerid,playersip,sizeof(playersip)); if(PlayerInfo[playerid][pCheckip] == 1) { if(strcmp(playersip, PlayerInfo[playerid][pIp]) != 0) { PlayerInfo[playerid][pLogin] = 0; format(string, sizeof(string), "UPDATE accounts SET pLogin = '%d' WHERE name = '%s'",PlayerInfo[playerid][pLogin],Name(playerid)); mysql_query(string); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 179.5547); SetPlayerCameraPos(playerid,1911.426269, -1774.763916, 132.995452); SetPlayerCameraLookAt(playerid,1908.732177, -1770.573364, 132.570449); TogglePlayerControllable(playerid, 0); ShowPlayerDialogEx(playerid,16,DIALOG_STYLE_INPUT, "Введите ключ безопасности", " ==== Ваш IP адрес сменился ====\n=== Введите Ваш ключ безопасности ===", "Готово", "Отмена"); PlayerInfo[playerid][pLogin] = 0; return true; } } if(PlayerInfo[playerid][pCheckip] == 1) { PlayerInfo[playerid][pLogin] = 1; format(string, sizeof(string), "UPDATE accounts SET pLogin = '%d' WHERE name = '%s'",PlayerInfo[playerid][pLogin],Name(playerid)); mysql_query(string); } if(PlayerInfo[playerid][pCheckip] == 0) { GetPlayerIp(playerid,playersip,sizeof(playersip)); PlayerInfo[playerid][pLogin] = 1; format(string, sizeof(string), "UPDATE accounts SET pLogin = '%d',pIp = '%s' WHERE name = '%s'",PlayerInfo[playerid][pLogin],playersip,Name(playerid)); mysql_query(string); } if(PlayerInfo[playerid][pCash] <= 0) PlayerInfo[playerid][pCash] = 0; if(PlayerInfo[playerid][pProcents] <= 0) PlayerInfo[playerid][pProcents] = 0; if(PlayerInfo[playerid][pChar][PlayerInfo[playerid][pViborChar]] == 0) PlayerInfo[playerid][pChar][PlayerInfo[playerid][pViborChar]] = 230; if(PlayerInfo[playerid][pAdmin] <= 0) PlayerInfo[playerid][pDostup] = 521957921; if(PlayerInfo[playerid][pDonateRank] > 0) SendClientMessage(playerid, 0xFEBC41AA, "Здравствуйте V.I.P игрок!"), format(tmp2, sizeof(tmp2), "~w~Welcome ~n~~b~ %s", playername2); else format(tmp2, sizeof(tmp2), "~w~Welcome ~n~~b~ %s", playername2); GameTextForPlayer(playerid, tmp2, 5000, 1); if (PlayerInfo[playerid][pText] == 4) SendClientMessage(playerid, COLOR_WHITE, "С Вас была снята лидерка организации"), PlayerInfo[playerid][pText] = 0; if (PlayerInfo[playerid][pText] == 5) SendClientMessage(playerid, COLOR_WHITE, "Ваша автомастерская была продана государству. Половина стоимости зачислена на ваш счет"), PlayerInfo[playerid][pText] = 0; if (PlayerInfo[playerid][pText] == 3) PlayerInfo[playerid][pText] = 0, SendClientMessage(playerid, COLOR_WHITE, "Вы получили 100 000 вирт на банковский счет, за приглашённого друга"); if (PlayerInfo[playerid][pCheckip] == 0) SendClientMessage(playerid, COLOR_LIGHTRED, "У вас низкая степень защиты! Рекомендуем вам повысить уровень защиты аккаунта"), SendClientMessage(playerid, COLOR_LIGHTRED, "Изменение защиты аккаунта: /mm - [9] Безопасность"); if (PlayerInfo[playerid][pText] == 1) SendClientMessage(playerid, COLOR_LIGHTRED, "Вы были выселены за неуплату квартплаты"), SendClientMessage(playerid, COLOR_LIGHTRED, "Деньги за дом вы можете получить в банке \"/GetHouseMoney\""); if (PlayerInfo[playerid][pText] == 2) SendClientMessage(playerid, COLOR_YELLOW, "Ваш бизнес был продан государству за простой государству. Половина стоимости зачислена на ваш банковский счет"), PlayerInfo[playerid][pText] = 0; if(PlayerInfo[playerid][pPhousekey] != 999) { new house = PlayerInfo[playerid][pPhousekey]; createdcar = caridhouse[playerid]; caridhouse[playerid] = CreateVehicle(PlayerInfo[playerid][pCar], HouseInfo[house][hCarx], HouseInfo[house][hCary], HouseInfo[house][hCarz], HouseInfo[house][hCarc] , PlayerInfo[playerid][pColor][0] ,PlayerInfo[playerid][pColor][1], 86400); createdcar ++; LockCar(caridhouse[playerid]); Fuell[caridhouse[playerid]] = PlayerInfo[playerid][pFuelcar]; CompVeh(playerid,caridhouse[playerid]); AddVehicleComponent (caridhouse[playerid], PlayerInfo[playerid][pWheels]); AddVehicleComponent (caridhouse[playerid], PlayerInfo[playerid][pNitro]); AddVehicleComponent (caridhouse[playerid], PlayerInfo[playerid][pHydrawlic]); if(PJ(caridhouse[playerid])) { ChangeVehiclePaintjob(caridhouse[playerid], PlayerInfo[playerid][pPaintJob]); AddVehicleComponent (caridhouse[playerid], PlayerInfo[playerid][pSpoiler]); AddVehicleComponent (caridhouse[playerid], PlayerInfo[playerid][pBumper1]); AddVehicleComponent (caridhouse[playerid], PlayerInfo[playerid][pBumper2]); } } PEfir[playerid] = 255; Pefir[playerid] = 999; if(!strlen(PlayerInfo[playerid][pEmail])) { format(string,sizeof(string),"Авторизация прошла успешно. Игровой аккаунт: %s. Ваш номер аккаунта: %d, Email: Нет",Name(playerid),PlayerIDs[playerid]); SendClientMessage(playerid,COLOR_REDD,string); SendClientMessage(playerid,COLOR_RED,"Указать E-Mail вы можете в /mm => [9] Безопасность => [5] Указать E-mail"); } else { format(string,sizeof(string),"Авторизация прошла успешно. Игровой аккаунт: %s. Ваш номер аккаунта: %d, Email: %s",Name(playerid),PlayerIDs[playerid],PlayerInfo[playerid][pEmail]); SendClientMessage(playerid,COLOR_WHITE,string); } SpawnPlayer(playerid); InitLockDoors(playerid); GangZoneShowForPlayer(playerid, Army, COLOR_YELLOW2); SetPlayerHealthAC(playerid, PlayerInfo[playerid][pHP]); ResetPlayerMoney(playerid); OnPlayerUpdateAc(playerid); (строчка 25726)>> if(PlayerInfo[playerid][pAdmin] >= 1) SendClientMessage(playerid,COLOR_BLUE,"Вы вошли как администратор. Для авторизации, введите \"/alogin\""), SendClientMessage(playerid,COLOR_WHITE,"Пока вы не авторизованы, вы не можете пользоваться привелегиями."); return true; }