shape1
shape2
shape3
shape4
shape7
shape8

нужна помощь проблемы с модами


Статус
Закрыто для дальнейших ответов.

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
Всем Доброе Утро.

скачал я мод  CRMP.RP V 7.3.7

Появились проблемы такое ощущение что я такой один и косяк за мной прошу помочь кому не лень.

почему в автосалонах пусто?

почему после пере захода висит загрузка и ничего не происходит? (скрин ниже)

почему не в один бизнес нельзя войти?

Вторая проблема:

Решил я скачать мод Russian City RolePlay

как решить данную проблему, с первого раза как только регистрируешься на сервер пускает а если перезайти то после ввода логина и пароля мигает загрузка та же проблема и с CRMP.RP V 7.3.7

Вот скрины

 
18e0a5378280.png

И ещё одна проблема текстуры ели прогружаются если побегать все появляется но не полноценно и половин исчезает как исправить? 
b9f588219901.png

 
И ещё проблема

Скачал я мод Astera RolePlay

но тот мод пак что выложили не подходит как решить проблему?

Как это все решить кто знает?

Спасибо огромное тем кто решиться мне помочь.
 
Последнее редактирование модератором:
A

Amfy

Гость
Гость
После перезахода "мигает" из-за координат игрока. Нужно смотреть сохранение позиции, а если сохранения позиций нет, то нужно телепортировать игрока на нужные координаты.

На счет текстур - значит стоят какие-то моды, вообщем, жрет ресурсы.

 

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
После перезахода "мигает" из-за координат игрока. Нужно смотреть сохранение позиции, а если сохранения позиций нет, то нужно телепортировать игрока на нужные координаты.

На счет текстур - значит стоят какие-то моды, вообщем, жрет ресурсы.
спасибо за ответ, а вот вопрос ещё где можно найти нормальный рабочий мод на CRMP.RP V 7.3.7 или более новой версии или купить?

 

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
Stenhttps://test.pawno-crmp.ru/index.php/user/251-sten/ Не могу убрать под спойлер так-как редактировать первое сообщение не получается

Апну тему так-как

Нужна помощь по моду: CRMP.RP V 7.3.7

--

Решил все проблемы которые выдавал крашдетект кроме одной она появляется после того как выходишь с сервера,а иногда бывает выходишь с сервера и сам сервер выключается при этом в логе нет ошибок а иногда выходишь с сервера и вот такие ошибки.

Лог ошибки:

[00:32:35] [debug] Run time error 4: "Array index out of bounds"
[00:32:35] [debug] Accessing element at index 110 past array upper bound 109
[00:32:35] [debug] AMX backtrace:
[00:32:35] [debug] #0 0013e458 in public Streamer_OnPlayerDisconnect (playerid=0, reason=2) at C:\Users\TOTO\Desktop\crmp7\gamemodes\mode.pwn:24434
[00:32:35] [debug] #1 native CallLocalFunction () [00472260] from samp-server-cr.exe
[00:32:35] [debug] #2 00009e9c in public OnPlayerDisconnect (playerid=0, reason=2) at C:\Users\TOTO\Desktop\crmp7\pawno\include\streamer.inc:361
Код:
for ( new x ; x <= GetMaxPlayers ( ) ; x++ ) {
		Строка 24434: if ( PlayerInfo [ x ] [ pAdmin ] >= 1 && Offlineonline ( x ) && playerid != x ) {
			format ( szString , sizeof ( szString ) , "%s (ID: %d) Покинул Сервер ( Причина: %s) !" , iName , playerid , szReason ) ;
			SendClientMessage ( x , -1 , szString ) ;
Совершенно не могу понять что же тут за проблема
 
Так же не понимаю что тут не так, но думаю эта ошибка уйдет если решить проблему со строкой 24434

[00:32:35] [debug] #2 00009e9c in public OnPlayerDisconnect (playerid=0, reason=2) at C:\Users\TOTO\Desktop\crmp7\pawno\include\streamer.inc:361

Также не могу понять когда включаешь сервер без крашдетекта то экран не мерцает а как подключаешь крашдетект заходишь на сервер и все мерцает ошибок не каких в логе но когда выходишь с сервера появляются ошибки которые я описал выше с чем связанно мерцание экрана?

Надеюсь все грамотно объяснил и найдется знающий человек который подскажет как это дело решить Спасибо.

 
Последнее редактирование модератором:

Mirex

Руководитель проекта
Команда портала
Гл.Администратор
Золотой
21.12.2013
2 513
550
0
26
definehost.ru
Скриптер
У вас столько проблем, что не поймешь, какую проблему вы хотите решить.

 
Последнее редактирование модератором:

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
У вас столько проблем, что не поймешь, какую проблему вы хотите решить.
конкретно вот эти проблемы, просто старался более информативно объяснить =) и мирцающий экран из-за крашдетекта

Код:
[00:32:35] [debug] Run time error 4: "Array index out of bounds"
[00:32:35] [debug]  Accessing element at index 110 past array upper bound 109
[00:32:35] [debug] AMX backtrace:
[00:32:35] [debug] #0 0013e458 in public Streamer_OnPlayerDisconnect (playerid=0, reason=2) at C:\Users\TOTO\Desktop\crmp7\gamemodes\mode.pwn:24434
[00:32:35] [debug] #1 native CallLocalFunction () [00472260] from samp-server-cr.exe
[00:32:35] [debug] #2 00009e9c in public OnPlayerDisconnect (playerid=0, reason=2) at C:\Users\TOTO\Desktop\crmp7\pawno\include\streamer.inc:361
 

Mirex

Руководитель проекта
Команда портала
Гл.Администратор
Золотой
21.12.2013
2 513
550
0
26
definehost.ru
Скриптер
TOTO, кидайте весь public OnPlayerDisconnect, только пометьте как нибудь строку 24434

 

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
строки изменились так-как добавлял в код что-то, теперь строка 24501

Код:
namespace OnPlayerDisconnect(playerid, reason)
{
    razmoroz[playerid] = 0;
    checkavto[playerid] = 0;
	vlsdkjvlsvjhlsfj[playerid] = 0;
	showvertd[playerid] = 0;
	PlayerInfo[playerid][pOnline] = 999;
	Iindialogid[playerid] = 0;
	if(gPlayerLogged[playerid] == 1)
	{
		if(!IsPlayerNPC(playerid))
		{
			new Rname[MAX_PLAYER_NAME];
			GetPlayerName(playerid, Rname, sizeof(Rname));
			new bigquery[2700];
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `lgunp0`='%d', `lgunp1`='%d', `lgunp2`='%d', `lgunp3`='%d', `lgunp4`='%d', `lgunp5`='%d'", PlayerInfo[playerid][lgunp0], PlayerInfo[playerid][lgunp1], PlayerInfo[playerid][lgunp2], PlayerInfo[playerid][lgunp3], PlayerInfo[playerid][lgunp4], PlayerInfo[playerid][lgunp5]);
			format(bigquery, sizeof(bigquery), "%s, `lgunp6`='%d', `lgunp7`='%d', `lgunp8`='%d', `lgunp9`='%d', `lgunp10`='%d', `lgunp11`='%d', `lgunp12`='%d'", bigquery , PlayerInfo[playerid][lgunp6], PlayerInfo[playerid][lgunp7], PlayerInfo[playerid][lgunp8], PlayerInfo[playerid][lgunp9], PlayerInfo[playerid][lgunp10], PlayerInfo[playerid][lgunp11], PlayerInfo[playerid][lgunp12]);
			format(bigquery, sizeof(bigquery), "%s, `lgun0`='%d', `lgun1`='%d', `lgun2`='%d', `lgun3`='%d', `lgun4`='%d', `lgun5`='%d', `lgun6`='%d'", bigquery , PlayerInfo[playerid][lgun0], PlayerInfo[playerid][lgun1], PlayerInfo[playerid][lgun2], PlayerInfo[playerid][lgun3], PlayerInfo[playerid][lgun4], PlayerInfo[playerid][lgun5], PlayerInfo[playerid][lgun6]);
			format(bigquery, sizeof(bigquery), "%s, `lgun7`='%d', `lgun8`='%d', `lgun9`='%d', `lgun10`='%d', `lgun11`='%d', `lgun12`='%d'", bigquery , PlayerInfo[playerid][lgun7], PlayerInfo[playerid][lgun8], PlayerInfo[playerid][lgun9], PlayerInfo[playerid][lgun10], PlayerInfo[playerid][lgun11], PlayerInfo[playerid][lgun12]);
			format(bigquery, sizeof(bigquery), "%s, `bolnica`='%d', `Kouka1`='%d', `Kouka2`='%d', `Kouka3`='%d', `Kouka4`='%d'", bigquery , PlayerInfo[playerid][pBolnica], PlayerInfo[playerid][pKouka1], PlayerInfo[playerid][pKouka2], PlayerInfo[playerid][pKouka3], PlayerInfo[playerid][pKouka4]);
			format(bigquery, sizeof(bigquery), "%s, `lVxodtime1`='%d', `lVxodtime2`='%d', `lVxodtime3`='%d', `lVxodtime4`='%d', `lVxodtime5`='%d', `lVxodtime6`='%d', `lVxodtime7`='%d' WHERE `NickName` = '%s'",bigquery,PlayerInfo[playerid][lVxodtime1],PlayerInfo[playerid][lVxodtime2],PlayerInfo[playerid][lVxodtime3],PlayerInfo[playerid][lVxodtime4],PlayerInfo[playerid][lVxodtime5],PlayerInfo[playerid][lVxodtime6],PlayerInfo[playerid][lVxodtime7],Rname);
			QueryEmpty(MySQL, bigquery);
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `Level`='%d', `AdminLevel`='%d', `DonateRank`='%d', `WantedLevel`='%d', `HelperLevel`='%d', `MuteTime`='%d'", PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pDonateRank], PlayerInfo[playerid][pWantedLevel], PlayerInfo[playerid][pHelper], PlayerInfo[playerid][pMuteTime]);
			format(bigquery, sizeof(bigquery), "%s, `ConnectedTime`='%d', `ConnectMinute`='%d', `unWarns`='%d', `unWarnstime`='%d', `ArmBil`='%d'", bigquery , PlayerInfo[playerid][pConnectTime], PlayerInfo[playerid][pConnectMinute], PlayerInfo[playerid][punWarns], PlayerInfo[playerid][punWarnstime], PlayerInfo[playerid][pArmBil]);
			format(bigquery, sizeof(bigquery), "%s, `Sdacha`='%d', `IP`='%s', `Registered`='%d', `Logsistembyan`='%d', `Sex`='%d', `Age`='%d'", bigquery , PlayerInfo[playerid][pSdacha], PlayerInfo[playerid][pIP], PlayerInfo[playerid][pReg], PlayerInfo[playerid][pLogsistembyan], PlayerInfo[playerid][pSex], PlayerInfo[playerid][pAge]);
			format(bigquery, sizeof(bigquery), "%s, `Slots`='%d', `Srtaf`='%d', `Allstraf`='%d', `Idebil`='%d'", bigquery , PlayerInfo[playerid][pSlots], PlayerInfo[playerid][pSrtaf], PlayerInfo[playerid][pAllstraf], PlayerInfo[playerid][pIdebil]);
			format(bigquery, sizeof(bigquery), "%s, `A90`='%d', `A93`='%d', `A95`='%d', `Adis`='%d', `Rules`='%d'", bigquery , PlayerInfo[playerid][pA90], PlayerInfo[playerid][pA93], PlayerInfo[playerid][pA95], PlayerInfo[playerid][pAdis], PlayerInfo[playerid][pRules]);
			format(bigquery, sizeof(bigquery), "%s, `Vaip`='%d', `playerspawn`='%d', `Zajigalka`='%d', `Siga`='%d'", bigquery, PlayerInfo[playerid][pVaip], PlayerInfo[playerid][playerspawn], PlayerInfo[playerid][pFire], PlayerInfo[playerid][pSigar]);
			format(bigquery, sizeof(bigquery), "%s, `Prover`='%d', `Conus`='%d', `Timerzakaz`='%d', `Hreg`='%d', `Minreg`='%d', `Sreg`='%d'", bigquery , PlayerInfo[playerid][pProv], PlayerInfo[playerid][pConus], PlayerInfo[playerid][pTimerzakaz], PlayerInfo[playerid][pHreg], PlayerInfo[playerid][pMinreg], PlayerInfo[playerid][pSreg]);
			format(bigquery, sizeof(bigquery), "%s, `Yreg`='%d', `Dreg`='%d', `Mreg`='%d', `Online`='%d'", bigquery , PlayerInfo[playerid][pYreg], PlayerInfo[playerid][pDreg], PlayerInfo[playerid][pMreg],PlayerInfo[playerid][pOnline]);
			format(bigquery, sizeof(bigquery), "%s, `Del`='%d', `Probel`='%d',`lastvxod`='%d' WHERE `NickName` = '%s'", bigquery, PlayerInfo[playerid][pDel], PlayerInfo[playerid][pProb],PlayerInfo[playerid][plastvxod],Rname);
			QueryEmpty(MySQL, bigquery);
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `Namchet`='%d', `Yer`='%d', `Fent`='%d', `Nele`='%d', `Lshift`='%d', `Lctrl`='%d'" , PlayerInfo[playerid][pNaml], PlayerInfo[playerid][pYer], PlayerInfo[playerid][pFar], PlayerInfo[playerid][pNar], PlayerInfo[playerid][pLshift], PlayerInfo[playerid][pLctrl]);
			format(bigquery, sizeof(bigquery), "%s, `Lalt`='%d', `Dva`='%d', `Nameight`='%d', `Namtwo`='%d', `Nalnoll`='%d', `Namsix`='%d'", bigquery , PlayerInfo[playerid][pLalt], PlayerInfo[playerid][pDva], PlayerInfo[playerid][pNamei], PlayerInfo[playerid][pNamtw], PlayerInfo[playerid][pNamn], PlayerInfo[playerid][pNams]);
			format(bigquery, sizeof(bigquery), "%s, `Qer`='%d', `Ear`='%d', `Caps`='%d', `Slushba`='%d', `Smenalvl`='%d', `Timen`='%d'", bigquery , PlayerInfo[playerid][pQer], PlayerInfo[playerid][pEar], PlayerInfo[playerid][pCaps], PlayerInfo[playerid][pClush], PlayerInfo[playerid][pSetlvl], PlayerInfo[playerid][pConnnecttime]);
			format(bigquery, sizeof(bigquery), "%s, `Ordennaob`='%d', `Num`='%d', `Origin`='%d', `CK`='%d', `Muted`='%d'", bigquery , PlayerInfo[playerid][pOrden], PlayerInfo[playerid][pNum], PlayerInfo[playerid][pOrigin], PlayerInfo[playerid][pCK], PlayerInfo[playerid][pMuted]);
			format(bigquery, sizeof(bigquery), "%s, `Respect`='%d', `Money`='%d', `Bank`='%d', `Crimes`='%d', `Kills`='%d', `Deaths`='%d'", bigquery , PlayerInfo[playerid][pExp], PlayerInfo[playerid][pCash], PlayerInfo[playerid][pAccount], PlayerInfo[playerid][pCrimes], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths]);
			format(bigquery, sizeof(bigquery), "%s, `Arrested`='%d', `WantedDeaths`='%d', `Phonebook`='%d', `LottoNr`='%d'", bigquery , PlayerInfo[playerid][pArrested], PlayerInfo[playerid][pWantedDeaths], PlayerInfo[playerid][pPhoneBook], PlayerInfo[playerid][pLottoNr]);
			format(bigquery, sizeof(bigquery), "%s, `Job`='%d', `Paycheck`='%d', `Jailed`='%d', `JailTime`='%d', `Materials`='%d'", bigquery , PlayerInfo[playerid][pJob], PlayerInfo[playerid][pPayCheck], PlayerInfo[playerid][pJailed], PlayerInfo[playerid][pJailTime], PlayerInfo[playerid][pMats]);
			format(bigquery, sizeof(bigquery), "%s, `Drugs`='%d', `Leader`='%d', `Member`='%d', `FMember`='%d', `Rank`='%d'", bigquery , PlayerInfo[playerid][pDrugs], PlayerInfo[playerid][pLeader], PlayerInfo[playerid][pMember], PlayerInfo[playerid][pFMember], PlayerInfo[playerid][pRank]);
			format(bigquery, sizeof(bigquery), "%s, `Char`='%d', `ContractTime`='%d', `DetSkill`='%d', `SexSkill`='%d', `BoxSkill`='%d', `LawSkill`='%d'", bigquery , PlayerInfo[playerid][pChar], PlayerInfo[playerid][pContractTime], PlayerInfo[playerid][pDetSkill], PlayerInfo[playerid][pSexSkill], PlayerInfo[playerid][pBoxSkill], PlayerInfo[playerid][pLawSkill]);
			format(bigquery, sizeof(bigquery), "%s, `MechSkill`='%d', `JackSkill`='%d', `CarSkill`='%d', `NewsSkill`='%d', `DrugsSkill`='%d',`CookSkill`='%d' WHERE `NickName` = '%s'", bigquery , PlayerInfo[playerid][pMechSkill], PlayerInfo[playerid][pJackSkill], PlayerInfo[playerid][pCarSkill], PlayerInfo[playerid][pNewsSkill], PlayerInfo[playerid][pDrugsSkill],PlayerInfo[playerid][pCookSkill], Rname);
			QueryEmpty(MySQL, bigquery);
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `FishSkill`='%d', `pSHealth`='%d', `pHealth`='%d', `Int`='%d', `Local`='%d', `Team`='%d'",PlayerInfo[playerid][pFishSkill], PlayerInfo[playerid][pSHealth], PlayerInfo[playerid][pHealth], PlayerInfo[playerid][pInt], PlayerInfo[playerid][pLocal], PlayerInfo[playerid][pTeam]);
			format(bigquery, sizeof(bigquery), "%s, `Model`='%d', `PhoneNr`='%d', `House`='%d', `Bizz`='%d', `Pos_x`='%d', `Pos_y`='%d'", bigquery , PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPnumber], PlayerInfo[playerid][pPhousekey], PlayerInfo[playerid][pPbiskey], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y]);
			format(bigquery, sizeof(bigquery), "%s, `Pos_z`='%d', `CarLic`='%d', `FlyLic`='%d', `BoatLic`='%d', `FishLic`='%d', `GunLic`='%d'", bigquery , PlayerInfo[playerid][pPos_z], PlayerInfo[playerid][pCarLic], PlayerInfo[playerid][pFlyLic], PlayerInfo[playerid][pBoatLic], PlayerInfo[playerid][pFishLic], PlayerInfo[playerid][pGunLic]);
			format(bigquery, sizeof(bigquery), "%s, `Gun1`='%d', `Gun2`='%d', `Gun3`='%d', `Gun4`='%d', `Ammo1`='%d', `Ammo2`='%d'", bigquery , PlayerInfo[playerid][pGun1], PlayerInfo[playerid][pGun2], PlayerInfo[playerid][pGun3], PlayerInfo[playerid][pGun4], PlayerInfo[playerid][pAmmo1], PlayerInfo[playerid][pAmmo2]);
			format(bigquery, sizeof(bigquery), "%s, `Ammo3`='%d', `Ammo4`='%d', `PayDay`='%d', `PayDayHad`='%d', `CDPlayer`='%d', `Wins`='%d'", bigquery , PlayerInfo[playerid][pAmmo3], PlayerInfo[playerid][pAmmo4], PlayerInfo[playerid][pPayDay], PlayerInfo[playerid][pPayDayHad], PlayerInfo[playerid][pCDPlayer], PlayerInfo[playerid][pWins]);
			format(bigquery, sizeof(bigquery), "%s, `Loses`='%d', `AlcoholPerk`='%d', `DrugPerk`='%d', `MiserPerk`='%d', `PainPerk`='%d', `TraderPerk`='%d'", bigquery , PlayerInfo[playerid][pLoses], PlayerInfo[playerid][pAlcoholPerk], PlayerInfo[playerid][pDrugPerk], PlayerInfo[playerid][pMiserPerk], PlayerInfo[playerid][pPainPerk], PlayerInfo[playerid][pTraderPerk]);
			format(bigquery, sizeof(bigquery), "%s, `pTimegun` ='%d', `Tutorial`='%d', `Mission`='%d', `Warnings`='%d', `Adjustable`='%d', `Veh`='%d'", bigquery ,PlayerInfo[playerid][pTimegun], PlayerInfo[playerid][pTut], PlayerInfo[playerid][pMissionNr], PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pAdjustable], PlayerInfo[playerid][pVeh]);
			format(bigquery, sizeof(bigquery), "%s, `Clock`='%d', `Kpk`='%d', `Pasport`='%d', `Tel`='%d', `plastvzlov`='%d', `plom`='%d', `prangvzlom`='%d', `pnextranglom`='%d'", bigquery , PlayerInfo[playerid][pClock], PlayerInfo[playerid][pKpk], PlayerInfo[playerid][pPasport], PlayerInfo[playerid][pTel], PlayerInfo[playerid][plastvzlov], PlayerInfo[playerid][plom], PlayerInfo[playerid][prangvzlom], PlayerInfo[playerid][pnextranglom]);
			format(bigquery, sizeof(bigquery), "%s, `STD`='%d',`Dostup`='%d' WHERE `NickName` = '%s'", bigquery,PlayerInfo[playerid][pSTD],PlayerInfo[playerid][pDostup], Rname);
			QueryEmpty(MySQL, bigquery);
		}
	}
	for(new d; d < 14; d++)
	{
		if(HospitalBed[d] != playerid) continue;
		else
		{
			HospitalBed[d] = INVALID_PLAYER_ID;
			break;
		}
	}
	PlayerInfo[playerid][pKouka1] = 0;
	PlayerInfo[playerid][pKouka2] = 0;
	PlayerInfo[playerid][pKouka3] = 0;
	PlayerInfo[playerid][pKouka4] = 0;
	PlayerInfo[playerid][pKouka5] = 0;
	PlayerInfo[playerid][pKouka6] = 0;
	PlayerInfo[playerid][pKouka7] = 0;
	PlayerInfo[playerid][pKouka8] = 0;
	PlayerInfo[playerid][pKouka9] = 0;
	PlayerInfo[playerid][pKouka10] = 0;
	PlayerInfo[playerid][pKouka11] = 0;
	PlayerInfo[playerid][pKouka12] = 0;
	PlayerInfo[playerid][pKouka13] = 0;
	PlayerInfo[playerid][pKouka14] = 0;
	tarifforhealth[playerid] = 0;
	timeforhealth[playerid] = 0;
	iybilll[playerid] = 0;
	thefirster[playerid] = 0;
	if(alltimer[playerid][0] != 0){KillTimer(alltimer[playerid][0]);alltimer[playerid][0] = 0;}
	if(alltimer[playerid][1] != 0){KillTimer(alltimer[playerid][1]);alltimer[playerid][1] = 0;}
	Chekpointforlice[playerid] = 0;
	zapiskrish[0][playerid] = 0;
	zapiskrish[1][playerid] = 0;
	zapiskrish[2][playerid] = 0;
	zapiskrish[3][playerid] = 0;
	Zahvat[playerid] = 0;
	Zahvattime[playerid] = 0;
	Zahvatmoney[playerid] = 0;
	levelbi[playerid] = 0;
	pricegi[playerid] = 0;
	pricegireal[playerid] = 0;
	levelgi[playerid] = 0;
	PlayerAFK[playerid][AFK_Time] = 0;
	if(PlayerAFK[playerid][AFK_Stat] != 0) { Delete3DTextLabel(AFK_3DT[playerid]); PlayerAFK[playerid][AFK_Stat] = 0; }
	bizforplayer[playerid] = 0;
	summapokavto[playerid] = 0;
	idpokavto[playerid] = 0;
	zabilpass[playerid] = 0;
	if(goolseren[playerid] != -1){
		goolserens[playerid] = 0;
		KillTimer(goolseren[playerid]);
		goolseren[playerid] = -1;
	}
	afkonk[playerid] = 0;
	gPlayerLogged[playerid] = 0;
	obuchalkanorm[playerid] = 0;
	thefirst[playerid] = 0;
	stophealct[playerid] = 0;
	onoffforwatch[playerid] = 0;
	babloforwatch[playerid] = 0;
	new iNamer[32];
	GetPlayerName(playerid, iNamer, sizeof(iNamer));
	zagruzka[playerid] = 0;
	new kiioijo[MAX_PLAYER_NAME];
	GetPlayerName(playerid, kiioijo, sizeof(kiioijo));
	if(GetPVarInt(playerid,"Create_Car")){DestroyVehicle(GetPVarInt(playerid,"Create_Car"));DeletePVar(playerid,"Create_Car");}
	if(ServerRoom1 == playerid){ServerRoom1 = 0;}
	if(ServerRoom2 == playerid){ServerRoom2 = 0;}
	if(ServerRoom3 == playerid){ServerRoom3 = 0;}
	if(ServerRoom4 == playerid){ServerRoom4 = 0;}
	if(ServerRoom5 == playerid){ServerRoom5 = 0;}
	PlayerInfo[playerid][pIdebil] = 0;
	dostup[playerid] = 0;
	numberbiztobuy[playerid] = 0;
	zakazavtoid[playerid] = 0;
	uuuuuuuu[playerid] = 0;
	for(new c=0;c<CAR_AMOUNT;c++)
	{
		if(playerid >= 1)
		{
			if(VehInfo[c][vPlayeridnar] == playerid)
			{
				VehInfo[c][vSpeedpl] = 0;
				VehInfo[c][vPlayeridnar] = 0;
				VehInfo[c][vIdcar] = 0;
			}
		}
	}
	PlayerTextDrawHide(playerid,Rhymed30[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed30[playerid]);

	PlayerTextDrawHide(playerid,Rhymed10[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed10[playerid]);

	PlayerTextDrawHide(playerid,Rhymed20[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed20[playerid]);

	PlayerTextDrawHide(playerid,Rhymed32[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed32[playerid]);
	yourpass[playerid] = 0;
	new string[144];
	SetPVarInt(playerid,"JOB",0);
	new
	iName [ MAX_PLAYER_NAME ] ,
	szString [ 128 ] ,
	szReason [ 16 ]
	;
	new message[127];
	GetPlayerName ( playerid , iName , sizeof ( iName ) ) ;
	format(message,sizeof(message), "%s [%d]", message, playerid);
	switch ( reason ) {
	case 0:	{
			strmid ( szReason , "Ошибка" , 0 , strlen ( "Ошибка" ) );
			AllWarns++;
		}
	case 1: strmid ( szReason , "Вышел" , 0 , strlen ( "Вышел" ) ) ;
	case 2: strmid ( szReason , "Кик/Бан" , 0 , strlen ( "Кик/Бан") ) ;
	default: strmid ( szReason , "Неизвестна" , 0 , strlen ( "Неизвестна") ) ;
	}

	for ( new x ; x <= GetMaxPlayers ( ) ; x++ ) {
  Строка: 24501	if ( PlayerInfo [ x ] [ pAdmin ] >= 1 && Offlineonline ( x ) && playerid != x ) {
			format ( szString , sizeof ( szString ) , "%s (ID: %d) Покинул Сервер ( Причина: %s) !" , iName , playerid , szReason ) ;
			SendClientMessage ( x , -1 , szString ) ;
		}
	}
	//==============================================================================
 
Последнее редактирование модератором:

Mirex

Руководитель проекта
Команда портала
Гл.Администратор
Золотой
21.12.2013
2 513
550
0
26
definehost.ru
Скриптер
Код:
for(new x; x 
{
    if(PlayerInfo[x][pAdmin] >= 1 && Offlineonline(x) && playerid != x)
    {
        format(szString,sizeof(szString),"%s (ID: %d) Покинул Сервер (Причина: %s) !",iName,playerid,szReason);
        SendClientMessage(x,-1,szString) ;
    }
}
 

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
Спасибо большое за ваши старания но проблема почему-то осталась прежней, код вставил верно, вот на всякий случай код уже с вашими исправлениями.

Лог:

[12:31:21] [debug] Run time error 4: "Array index out of bounds"
[12:31:21] [debug] Accessing element at index 110 past array upper bound 109
[12:31:21] [debug] AMX backtrace:
[12:31:21] [debug] #0 0013ee48 in public Streamer_OnPlayerDisconnect (playerid=0, reason=1) at C:\Users\TOTO\Desktop\crmp7\gamemodes\mode.pwn:24502
[12:31:21] [debug] #1 native CallLocalFunction () [00472260] from samp-server-cr.exe
[12:31:21] [debug] #2 00009e9c in public OnPlayerDisconnect (playerid=0, reason=1) at C:\Users\TOTO\Desktop\crmp7\pawno\include\streamer.inc:361
[12:31:21] [part] Anton_Toto has left the server (0:1)


Код

Код:
namespace OnPlayerDisconnect(playerid, reason)
{
    razmoroz[playerid] = 0;
    checkavto[playerid] = 0;
	vlsdkjvlsvjhlsfj[playerid] = 0;
	showvertd[playerid] = 0;
	PlayerInfo[playerid][pOnline] = 999;
	Iindialogid[playerid] = 0;
	if(gPlayerLogged[playerid] == 1)
	{
		if(!IsPlayerNPC(playerid))
		{
			new Rname[MAX_PLAYER_NAME];
			GetPlayerName(playerid, Rname, sizeof(Rname));
			new bigquery[2700];
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `lgunp0`='%d', `lgunp1`='%d', `lgunp2`='%d', `lgunp3`='%d', `lgunp4`='%d', `lgunp5`='%d'", PlayerInfo[playerid][lgunp0], PlayerInfo[playerid][lgunp1], PlayerInfo[playerid][lgunp2], PlayerInfo[playerid][lgunp3], PlayerInfo[playerid][lgunp4], PlayerInfo[playerid][lgunp5]);
			format(bigquery, sizeof(bigquery), "%s, `lgunp6`='%d', `lgunp7`='%d', `lgunp8`='%d', `lgunp9`='%d', `lgunp10`='%d', `lgunp11`='%d', `lgunp12`='%d'", bigquery , PlayerInfo[playerid][lgunp6], PlayerInfo[playerid][lgunp7], PlayerInfo[playerid][lgunp8], PlayerInfo[playerid][lgunp9], PlayerInfo[playerid][lgunp10], PlayerInfo[playerid][lgunp11], PlayerInfo[playerid][lgunp12]);
			format(bigquery, sizeof(bigquery), "%s, `lgun0`='%d', `lgun1`='%d', `lgun2`='%d', `lgun3`='%d', `lgun4`='%d', `lgun5`='%d', `lgun6`='%d'", bigquery , PlayerInfo[playerid][lgun0], PlayerInfo[playerid][lgun1], PlayerInfo[playerid][lgun2], PlayerInfo[playerid][lgun3], PlayerInfo[playerid][lgun4], PlayerInfo[playerid][lgun5], PlayerInfo[playerid][lgun6]);
			format(bigquery, sizeof(bigquery), "%s, `lgun7`='%d', `lgun8`='%d', `lgun9`='%d', `lgun10`='%d', `lgun11`='%d', `lgun12`='%d'", bigquery , PlayerInfo[playerid][lgun7], PlayerInfo[playerid][lgun8], PlayerInfo[playerid][lgun9], PlayerInfo[playerid][lgun10], PlayerInfo[playerid][lgun11], PlayerInfo[playerid][lgun12]);
			format(bigquery, sizeof(bigquery), "%s, `bolnica`='%d', `Kouka1`='%d', `Kouka2`='%d', `Kouka3`='%d', `Kouka4`='%d'", bigquery , PlayerInfo[playerid][pBolnica], PlayerInfo[playerid][pKouka1], PlayerInfo[playerid][pKouka2], PlayerInfo[playerid][pKouka3], PlayerInfo[playerid][pKouka4]);
			format(bigquery, sizeof(bigquery), "%s, `lVxodtime1`='%d', `lVxodtime2`='%d', `lVxodtime3`='%d', `lVxodtime4`='%d', `lVxodtime5`='%d', `lVxodtime6`='%d', `lVxodtime7`='%d' WHERE `NickName` = '%s'",bigquery,PlayerInfo[playerid][lVxodtime1],PlayerInfo[playerid][lVxodtime2],PlayerInfo[playerid][lVxodtime3],PlayerInfo[playerid][lVxodtime4],PlayerInfo[playerid][lVxodtime5],PlayerInfo[playerid][lVxodtime6],PlayerInfo[playerid][lVxodtime7],Rname);
			QueryEmpty(MySQL, bigquery);
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `Level`='%d', `AdminLevel`='%d', `DonateRank`='%d', `WantedLevel`='%d', `HelperLevel`='%d', `MuteTime`='%d'", PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pDonateRank], PlayerInfo[playerid][pWantedLevel], PlayerInfo[playerid][pHelper], PlayerInfo[playerid][pMuteTime]);
			format(bigquery, sizeof(bigquery), "%s, `ConnectedTime`='%d', `ConnectMinute`='%d', `unWarns`='%d', `unWarnstime`='%d', `ArmBil`='%d'", bigquery , PlayerInfo[playerid][pConnectTime], PlayerInfo[playerid][pConnectMinute], PlayerInfo[playerid][punWarns], PlayerInfo[playerid][punWarnstime], PlayerInfo[playerid][pArmBil]);
			format(bigquery, sizeof(bigquery), "%s, `Sdacha`='%d', `IP`='%s', `Registered`='%d', `Logsistembyan`='%d', `Sex`='%d', `Age`='%d'", bigquery , PlayerInfo[playerid][pSdacha], PlayerInfo[playerid][pIP], PlayerInfo[playerid][pReg], PlayerInfo[playerid][pLogsistembyan], PlayerInfo[playerid][pSex], PlayerInfo[playerid][pAge]);
			format(bigquery, sizeof(bigquery), "%s, `Slots`='%d', `Srtaf`='%d', `Allstraf`='%d', `Idebil`='%d'", bigquery , PlayerInfo[playerid][pSlots], PlayerInfo[playerid][pSrtaf], PlayerInfo[playerid][pAllstraf], PlayerInfo[playerid][pIdebil]);
			format(bigquery, sizeof(bigquery), "%s, `A90`='%d', `A93`='%d', `A95`='%d', `Adis`='%d', `Rules`='%d'", bigquery , PlayerInfo[playerid][pA90], PlayerInfo[playerid][pA93], PlayerInfo[playerid][pA95], PlayerInfo[playerid][pAdis], PlayerInfo[playerid][pRules]);
			format(bigquery, sizeof(bigquery), "%s, `Vaip`='%d', `playerspawn`='%d', `Zajigalka`='%d', `Siga`='%d'", bigquery, PlayerInfo[playerid][pVaip], PlayerInfo[playerid][playerspawn], PlayerInfo[playerid][pFire], PlayerInfo[playerid][pSigar]);
			format(bigquery, sizeof(bigquery), "%s, `Prover`='%d', `Conus`='%d', `Timerzakaz`='%d', `Hreg`='%d', `Minreg`='%d', `Sreg`='%d'", bigquery , PlayerInfo[playerid][pProv], PlayerInfo[playerid][pConus], PlayerInfo[playerid][pTimerzakaz], PlayerInfo[playerid][pHreg], PlayerInfo[playerid][pMinreg], PlayerInfo[playerid][pSreg]);
			format(bigquery, sizeof(bigquery), "%s, `Yreg`='%d', `Dreg`='%d', `Mreg`='%d', `Online`='%d'", bigquery , PlayerInfo[playerid][pYreg], PlayerInfo[playerid][pDreg], PlayerInfo[playerid][pMreg],PlayerInfo[playerid][pOnline]);
			format(bigquery, sizeof(bigquery), "%s, `Del`='%d', `Probel`='%d',`lastvxod`='%d' WHERE `NickName` = '%s'", bigquery, PlayerInfo[playerid][pDel], PlayerInfo[playerid][pProb],PlayerInfo[playerid][plastvxod],Rname);
			QueryEmpty(MySQL, bigquery);
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `Namchet`='%d', `Yer`='%d', `Fent`='%d', `Nele`='%d', `Lshift`='%d', `Lctrl`='%d'" , PlayerInfo[playerid][pNaml], PlayerInfo[playerid][pYer], PlayerInfo[playerid][pFar], PlayerInfo[playerid][pNar], PlayerInfo[playerid][pLshift], PlayerInfo[playerid][pLctrl]);
			format(bigquery, sizeof(bigquery), "%s, `Lalt`='%d', `Dva`='%d', `Nameight`='%d', `Namtwo`='%d', `Nalnoll`='%d', `Namsix`='%d'", bigquery , PlayerInfo[playerid][pLalt], PlayerInfo[playerid][pDva], PlayerInfo[playerid][pNamei], PlayerInfo[playerid][pNamtw], PlayerInfo[playerid][pNamn], PlayerInfo[playerid][pNams]);
			format(bigquery, sizeof(bigquery), "%s, `Qer`='%d', `Ear`='%d', `Caps`='%d', `Slushba`='%d', `Smenalvl`='%d', `Timen`='%d'", bigquery , PlayerInfo[playerid][pQer], PlayerInfo[playerid][pEar], PlayerInfo[playerid][pCaps], PlayerInfo[playerid][pClush], PlayerInfo[playerid][pSetlvl], PlayerInfo[playerid][pConnnecttime]);
			format(bigquery, sizeof(bigquery), "%s, `Ordennaob`='%d', `Num`='%d', `Origin`='%d', `CK`='%d', `Muted`='%d'", bigquery , PlayerInfo[playerid][pOrden], PlayerInfo[playerid][pNum], PlayerInfo[playerid][pOrigin], PlayerInfo[playerid][pCK], PlayerInfo[playerid][pMuted]);
			format(bigquery, sizeof(bigquery), "%s, `Respect`='%d', `Money`='%d', `Bank`='%d', `Crimes`='%d', `Kills`='%d', `Deaths`='%d'", bigquery , PlayerInfo[playerid][pExp], PlayerInfo[playerid][pCash], PlayerInfo[playerid][pAccount], PlayerInfo[playerid][pCrimes], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths]);
			format(bigquery, sizeof(bigquery), "%s, `Arrested`='%d', `WantedDeaths`='%d', `Phonebook`='%d', `LottoNr`='%d'", bigquery , PlayerInfo[playerid][pArrested], PlayerInfo[playerid][pWantedDeaths], PlayerInfo[playerid][pPhoneBook], PlayerInfo[playerid][pLottoNr]);
			format(bigquery, sizeof(bigquery), "%s, `Job`='%d', `Paycheck`='%d', `Jailed`='%d', `JailTime`='%d', `Materials`='%d'", bigquery , PlayerInfo[playerid][pJob], PlayerInfo[playerid][pPayCheck], PlayerInfo[playerid][pJailed], PlayerInfo[playerid][pJailTime], PlayerInfo[playerid][pMats]);
			format(bigquery, sizeof(bigquery), "%s, `Drugs`='%d', `Leader`='%d', `Member`='%d', `FMember`='%d', `Rank`='%d'", bigquery , PlayerInfo[playerid][pDrugs], PlayerInfo[playerid][pLeader], PlayerInfo[playerid][pMember], PlayerInfo[playerid][pFMember], PlayerInfo[playerid][pRank]);
			format(bigquery, sizeof(bigquery), "%s, `Char`='%d', `ContractTime`='%d', `DetSkill`='%d', `SexSkill`='%d', `BoxSkill`='%d', `LawSkill`='%d'", bigquery , PlayerInfo[playerid][pChar], PlayerInfo[playerid][pContractTime], PlayerInfo[playerid][pDetSkill], PlayerInfo[playerid][pSexSkill], PlayerInfo[playerid][pBoxSkill], PlayerInfo[playerid][pLawSkill]);
			format(bigquery, sizeof(bigquery), "%s, `MechSkill`='%d', `JackSkill`='%d', `CarSkill`='%d', `NewsSkill`='%d', `DrugsSkill`='%d',`CookSkill`='%d' WHERE `NickName` = '%s'", bigquery , PlayerInfo[playerid][pMechSkill], PlayerInfo[playerid][pJackSkill], PlayerInfo[playerid][pCarSkill], PlayerInfo[playerid][pNewsSkill], PlayerInfo[playerid][pDrugsSkill],PlayerInfo[playerid][pCookSkill], Rname);
			QueryEmpty(MySQL, bigquery);
			format(bigquery, sizeof(bigquery), "UPDATE `accounts` SET `FishSkill`='%d', `pSHealth`='%d', `pHealth`='%d', `Int`='%d', `Local`='%d', `Team`='%d'",PlayerInfo[playerid][pFishSkill], PlayerInfo[playerid][pSHealth], PlayerInfo[playerid][pHealth], PlayerInfo[playerid][pInt], PlayerInfo[playerid][pLocal], PlayerInfo[playerid][pTeam]);
			format(bigquery, sizeof(bigquery), "%s, `Model`='%d', `PhoneNr`='%d', `House`='%d', `Bizz`='%d', `Pos_x`='%d', `Pos_y`='%d'", bigquery , PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPnumber], PlayerInfo[playerid][pPhousekey], PlayerInfo[playerid][pPbiskey], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y]);
			format(bigquery, sizeof(bigquery), "%s, `Pos_z`='%d', `CarLic`='%d', `FlyLic`='%d', `BoatLic`='%d', `FishLic`='%d', `GunLic`='%d'", bigquery , PlayerInfo[playerid][pPos_z], PlayerInfo[playerid][pCarLic], PlayerInfo[playerid][pFlyLic], PlayerInfo[playerid][pBoatLic], PlayerInfo[playerid][pFishLic], PlayerInfo[playerid][pGunLic]);
			format(bigquery, sizeof(bigquery), "%s, `Gun1`='%d', `Gun2`='%d', `Gun3`='%d', `Gun4`='%d', `Ammo1`='%d', `Ammo2`='%d'", bigquery , PlayerInfo[playerid][pGun1], PlayerInfo[playerid][pGun2], PlayerInfo[playerid][pGun3], PlayerInfo[playerid][pGun4], PlayerInfo[playerid][pAmmo1], PlayerInfo[playerid][pAmmo2]);
			format(bigquery, sizeof(bigquery), "%s, `Ammo3`='%d', `Ammo4`='%d', `PayDay`='%d', `PayDayHad`='%d', `CDPlayer`='%d', `Wins`='%d'", bigquery , PlayerInfo[playerid][pAmmo3], PlayerInfo[playerid][pAmmo4], PlayerInfo[playerid][pPayDay], PlayerInfo[playerid][pPayDayHad], PlayerInfo[playerid][pCDPlayer], PlayerInfo[playerid][pWins]);
			format(bigquery, sizeof(bigquery), "%s, `Loses`='%d', `AlcoholPerk`='%d', `DrugPerk`='%d', `MiserPerk`='%d', `PainPerk`='%d', `TraderPerk`='%d'", bigquery , PlayerInfo[playerid][pLoses], PlayerInfo[playerid][pAlcoholPerk], PlayerInfo[playerid][pDrugPerk], PlayerInfo[playerid][pMiserPerk], PlayerInfo[playerid][pPainPerk], PlayerInfo[playerid][pTraderPerk]);
			format(bigquery, sizeof(bigquery), "%s, `pTimegun` ='%d', `Tutorial`='%d', `Mission`='%d', `Warnings`='%d', `Adjustable`='%d', `Veh`='%d'", bigquery ,PlayerInfo[playerid][pTimegun], PlayerInfo[playerid][pTut], PlayerInfo[playerid][pMissionNr], PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pAdjustable], PlayerInfo[playerid][pVeh]);
			format(bigquery, sizeof(bigquery), "%s, `Clock`='%d', `Kpk`='%d', `Pasport`='%d', `Tel`='%d', `plastvzlov`='%d', `plom`='%d', `prangvzlom`='%d', `pnextranglom`='%d'", bigquery , PlayerInfo[playerid][pClock], PlayerInfo[playerid][pKpk], PlayerInfo[playerid][pPasport], PlayerInfo[playerid][pTel], PlayerInfo[playerid][plastvzlov], PlayerInfo[playerid][plom], PlayerInfo[playerid][prangvzlom], PlayerInfo[playerid][pnextranglom]);
			format(bigquery, sizeof(bigquery), "%s, `STD`='%d',`Dostup`='%d' WHERE `NickName` = '%s'", bigquery,PlayerInfo[playerid][pSTD],PlayerInfo[playerid][pDostup], Rname);
			QueryEmpty(MySQL, bigquery);
		}
	}
	for(new d; d < 14; d++)
	{
		if(HospitalBed[d] != playerid) continue;
		else
		{
			HospitalBed[d] = INVALID_PLAYER_ID;
			break;
		}
	}
	PlayerInfo[playerid][pKouka1] = 0;
	PlayerInfo[playerid][pKouka2] = 0;
	PlayerInfo[playerid][pKouka3] = 0;
	PlayerInfo[playerid][pKouka4] = 0;
	PlayerInfo[playerid][pKouka5] = 0;
	PlayerInfo[playerid][pKouka6] = 0;
	PlayerInfo[playerid][pKouka7] = 0;
	PlayerInfo[playerid][pKouka8] = 0;
	PlayerInfo[playerid][pKouka9] = 0;
	PlayerInfo[playerid][pKouka10] = 0;
	PlayerInfo[playerid][pKouka11] = 0;
	PlayerInfo[playerid][pKouka12] = 0;
	PlayerInfo[playerid][pKouka13] = 0;
	PlayerInfo[playerid][pKouka14] = 0;
	tarifforhealth[playerid] = 0;
	timeforhealth[playerid] = 0;
	iybilll[playerid] = 0;
	thefirster[playerid] = 0;
	if(alltimer[playerid][0] != 0){KillTimer(alltimer[playerid][0]);alltimer[playerid][0] = 0;}
	if(alltimer[playerid][1] != 0){KillTimer(alltimer[playerid][1]);alltimer[playerid][1] = 0;}
	Chekpointforlice[playerid] = 0;
	zapiskrish[0][playerid] = 0;
	zapiskrish[1][playerid] = 0;
	zapiskrish[2][playerid] = 0;
	zapiskrish[3][playerid] = 0;
	Zahvat[playerid] = 0;
	Zahvattime[playerid] = 0;
	Zahvatmoney[playerid] = 0;
	levelbi[playerid] = 0;
	pricegi[playerid] = 0;
	pricegireal[playerid] = 0;
	levelgi[playerid] = 0;
	PlayerAFK[playerid][AFK_Time] = 0;
	if(PlayerAFK[playerid][AFK_Stat] != 0) { Delete3DTextLabel(AFK_3DT[playerid]); PlayerAFK[playerid][AFK_Stat] = 0; }
	bizforplayer[playerid] = 0;
	summapokavto[playerid] = 0;
	idpokavto[playerid] = 0;
	zabilpass[playerid] = 0;
	if(goolseren[playerid] != -1){
		goolserens[playerid] = 0;
		KillTimer(goolseren[playerid]);
		goolseren[playerid] = -1;
	}
	afkonk[playerid] = 0;
	gPlayerLogged[playerid] = 0;
	obuchalkanorm[playerid] = 0;
	thefirst[playerid] = 0;
	stophealct[playerid] = 0;
	onoffforwatch[playerid] = 0;
	babloforwatch[playerid] = 0;
	new iNamer[32];
	GetPlayerName(playerid, iNamer, sizeof(iNamer));
	zagruzka[playerid] = 0;
	new kiioijo[MAX_PLAYER_NAME];
	GetPlayerName(playerid, kiioijo, sizeof(kiioijo));
	if(GetPVarInt(playerid,"Create_Car")){DestroyVehicle(GetPVarInt(playerid,"Create_Car"));DeletePVar(playerid,"Create_Car");}
	if(ServerRoom1 == playerid){ServerRoom1 = 0;}
	if(ServerRoom2 == playerid){ServerRoom2 = 0;}
	if(ServerRoom3 == playerid){ServerRoom3 = 0;}
	if(ServerRoom4 == playerid){ServerRoom4 = 0;}
	if(ServerRoom5 == playerid){ServerRoom5 = 0;}
	PlayerInfo[playerid][pIdebil] = 0;
	dostup[playerid] = 0;
	numberbiztobuy[playerid] = 0;
	zakazavtoid[playerid] = 0;
	uuuuuuuu[playerid] = 0;
	for(new c=0;c<CAR_AMOUNT;c++)
	{
		if(playerid >= 1)
		{
			if(VehInfo[c][vPlayeridnar] == playerid)
			{
				VehInfo[c][vSpeedpl] = 0;
				VehInfo[c][vPlayeridnar] = 0;
				VehInfo[c][vIdcar] = 0;
			}
		}
	}
	PlayerTextDrawHide(playerid,Rhymed30[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed30[playerid]);

	PlayerTextDrawHide(playerid,Rhymed10[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed10[playerid]);

	PlayerTextDrawHide(playerid,Rhymed20[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed20[playerid]);

	PlayerTextDrawHide(playerid,Rhymed32[playerid]);
	PlayerTextDrawDestroy(playerid,Rhymed32[playerid]);
	yourpass[playerid] = 0;
	new string[144];
	SetPVarInt(playerid,"JOB",0);
	new
	iName [ MAX_PLAYER_NAME ] ,
	szString [ 128 ] ,
	szReason [ 16 ]
	;
	new message[127];
	GetPlayerName ( playerid , iName , sizeof ( iName ) ) ;
	format(message,sizeof(message), "%s [%d]", message, playerid);
	switch ( reason ) {
	case 0:	{
			strmid ( szReason , "Ошибка" , 0 , strlen ( "Ошибка" ) );
			AllWarns++;
		}
	case 1: strmid ( szReason , "Вышел" , 0 , strlen ( "Вышел" ) ) ;
	case 2: strmid ( szReason , "Кик/Бан" , 0 , strlen ( "Кик/Бан") ) ;
	default: strmid ( szReason , "Неизвестна" , 0 , strlen ( "Неизвестна") ) ;
	}

	for(new x; x < GetMaxPlayers(); x++)
 {
    if(PlayerInfo[x][pAdmin] >= 1 && Offlineonline(x) && playerid != x)
    {
        format(szString,sizeof(szString),"%s (ID: %d) Покинул сервер (Причина: %s) !",iName,playerid,szReason);
        SendClientMessage(x,-1,szString) ;
    }
 }
	//==============================================================================
 

Артур321

Освоившийся
Пользователь
26.10.2014
360
49
0
TOTO тебе надо удалить паловино не нужного маппинга...Тогда у тебя текстуры будут Нормально...А с модпаком ты не вел правельно свой IP Адрес

 
A

Amfy

Гость
Гость
TOTO, чует мое сердце тебе не только половину маппинга нужно удалить, но и весь этот мод. С ним, судя по коду из OnPlayerDisConnect, каши не сваришь.

 

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
получается просто так не исправить проблему с OnPlayerDisConnect ? Или есть какие-то варианты исправить данную проблему? 

 
Последнее редактирование модератором:
A

Amfy

Гость
Гость
получается просто так не исправить проблему с OnPlayerDisConnect ? Или есть какие-то варианты исправить данную проблему?
Проблему то можно исправить, только у тебя их 1000 и одна из них почему-то в стримере.

 
Последнее редактирование:

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
Нужна помощь только с проблемой та что в сообщении:#5  Так как сервер из неё крашиться постоянно как выйдешь с сервера сервер отключается почти всегда так.

А вот насчет стримера сам удивлен откуда такая ошибка но мне кажется все это взаимосвязанно с ошибкой OnPlayerDisConnect не так ли? 

Если несложно помоги разрешить данную проблему

 
Последнее редактирование модератором:
A

Amfy

Гость
Гость
TOTO, я тебе уже где-то отвечал про мерцание. Это связано скорее всего с координатами игрока/спавном. Нужно смотреть мод.

 

TOTO

Новичок
Пользователь
30.03.2015
55
3
0
27
так в чем и проблема что это из-за крашдетекта без него все хорошо работает а как его подключаю сразу все мирцает, только бы OnPlayerDisConnect убрать ошибку дальше думаю проще будет хотя бы сервер отключаться не будет.

 
Статус
Закрыто для дальнейших ответов.