05:19
ОбновитьСмайлыУправление мини-чатом
МИНИ-ЧАТ
Главная страница!

 



 
        
GTA IV Mod Installer (5)
jasper2 23.09.2017 02:50
 





Рекомендуем:
Добавить IP: 95.172.59.51:7777





Последние Файлы GTA 4 Последние Файлы GTA-MP Реклама
Скрипт GTA 4 элементы Watch... 07.09.2014
Ferrari 360 Spider [EPM con... 13.12.2013
Porsche Cayenne Turbo 2012 ... 13.12.2013
Shelby Terlingua Mustang v1... 13.12.2013
Hamann Lamborghini Gallardo... 27.10.2013
Dgun (AvnanceRP,SampRP,Dimo... 19.03.2016
SAMP скрипт SX Events (MySQ... 03.03.2016
Карта ASL мэрия для SAMP се... 03.03.2016
AIM для SA-MP 0.3.7 22.02.2016
Скачать GTA SAMP 0.3.7 - Кл... 20.07.2015
Страница 1 из 11
Модератор форума: AXE, Weddew 
Форум SAMP о мультиплеерах для GTA. » SAMP скачивание и обсуждение » Вопросы и Проблемы » RG 1.8.5 (LV-RP) (Крашит сервер)
RG 1.8.5 (LV-RP)
BrilliantДата: Пятница, 16.11.2012, 13:52 | Сообщение # 1
Освоившийся
Группа: Продвинутые
Сообщений: 81
Награды: 0
Город: Ekibas city
Репутация: 35
Замечания: 0%
Статус:
Такая проблема, решил посмотреть мод RG v1.8.5 перевёл его на 0.3е когда играю через какое то время просто отключается сервер в логах нечего нету, в это время никаких команд не использую !
[cut noguest=лог crashinfo.txt]SA-MP Server: 0.3e-R2

Exception At Address: 0x004937FB Module: (samp-server.exe)

Registers:

EAX: 0x0012F510 EBX: 0x039C2DA8 ECX: 0x00000000 EDX: 0x004056C0

ESI: 0x00000000 EDI: 0x01661360 EBP: 0x0012F520 ESP: 0x0012F4F8

EFLAGS: 0x00010286

Stack:

+0000: 0x01661360 0x01661360 0x039C2DA8 0xFFFFFFFF

+0010: 0x0012F4F8 0x0012F104 0x0012F6EC 0x00497668

+0020: 0x004B2330 0xFFFFFFFF 0x039C80D4 0x004056CD

+0030: 0x00000000 0x004010B6 0x01661360 0x04028D0C

+0040: 0x03C3E2E8 0x00402B63 0x01661360 0x00000028

+0050: 0x0012F560 0x04028D0C 0x0012FC54 0x01661360

+0060: 0x00000009 0x015F0090 0x00000000 0x003EAA20

+0070: 0x003EAA24 0x003EAAE4 0x003E6AE8 0x003EAA30

+0080: 0x003E6AE8 0x039C2DA8 0x03C3E2E8 0x00000000

+0090: 0x039C0020 0x0027B540 0x0046DC1E 0x01661360

+00A0: 0x0012F5B8 0x00000096 0x01661360 0x00000009

+00B0: 0x01661360 0x00000090 0x00000090 0x04351498

+00C0: 0x00000000 0x00480BAD 0x00000096 0x00000090

+00D0: 0x00000009 0x04351498 0x02DFA848 0x0012FB28

+00E0: 0x00000000 0x00000800 0x00000000 0x0012F5E9

+00F0: 0xF9A80101 0x00489BA4 0x0011000F 0x000000B0

+0100: 0x00000009 0x00489BB8 0x015F0358 0x0012FB50

+0110: 0x0000006F 0x0000001C 0x00000000 0x01288808

+0120: 0x015F0048 0x015F0190 0x0432FD18 0x015F0920

+0130: 0xF2E5CD00 0x0012F5C0 0xE220E0F7 0x0012F6E4

--------------------------

Loaded Modules:

samp-server.exe A: 0x00400000 - 0x004F5000 (C:\Новая папка\LV-RP\samp-server.exe)

ntdll.dll A: 0x77C20000 - 0x77D5C000 (C:\Windows\SYSTEM32\ntdll.dll)

kernel32.dll A: 0x77D70000 - 0x77E44000 (C:\Windows\system32\kernel32.dll)

KERNELBASE.dll A: 0x75E40000 - 0x75E8A000 (C:\Windows\system32\KERNELBASE.dll)

SHELL32.dll A: 0x763E0000 - 0x7702A000 (C:\Windows\system32\SHELL32.dll)

msvcrt.dll A: 0x76250000 - 0x762FC000 (C:\Windows\system32\msvcrt.dll)

SHLWAPI.dll A: 0x77300000 - 0x77357000 (C:\Windows\system32\SHLWAPI.dll)

GDI32.dll A: 0x775E0000 - 0x7762E000 (C:\Windows\system32\GDI32.dll)

USER32.dll A: 0x77970000 - 0x77A39000 (C:\Windows\system32\USER32.dll)

LPK.dll A: 0x761A0000 - 0x761AA000 (C:\Windows\system32\LPK.dll)

USP10.dll A: 0x77540000 - 0x775DD000 (C:\Windows\system32\USP10.dll)

WSOCK32.dll A: 0x6FD70000 - 0x6FD77000 (C:\Windows\system32\WSOCK32.dll)

WS2_32.dll A: 0x777D0000 - 0x77805000 (C:\Windows\system32\WS2_32.dll)

RPCRT4.dll A: 0x76300000 - 0x763A1000 (C:\Windows\system32\RPCRT4.dll)

NSI.dll A: 0x77D60000 - 0x77D66000 (C:\Windows\system32\NSI.dll)

WINMM.dll A: 0x74180000 - 0x741B2000 (C:\Windows\system32\WINMM.dll)

IMM32.DLL A: 0x77630000 - 0x7764F000 (C:\Windows\system32\IMM32.DLL)

MSCTF.dll A: 0x77810000 - 0x778DC000 (C:\Windows\system32\MSCTF.dll)

streamer.DLL A: 0x6BC00000 - 0x6BC28000 (C:\Новая папка\LV-RP\plugins\streamer.DLL)

MSVCR90.dll A: 0x65610000 - 0x656B3000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll)

MSVCP90.dll A: 0x6BB70000 - 0x6BBFE000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCP90.dll)

mswsock.dll A: 0x757C0000 - 0x757FC000 (C:\Windows\system32\mswsock.dll)

wshtcpip.dll A: 0x75280000 - 0x75285000 (C:\Windows\System32\wshtcpip.dll)

NLAapi.dll A: 0x740A0000 - 0x740B0000 (C:\Windows\system32\NLAapi.dll)

napinsp.dll A: 0x6E280000 - 0x6E290000 (C:\Windows\system32\napinsp.dll)

sechost.dll A: 0x77520000 - 0x77539000 (C:\Windows\SYSTEM32\sechost.dll)

pnrpnsp.dll A: 0x6E260000 - 0x6E272000 (C:\Windows\system32\pnrpnsp.dll)

DNSAPI.dll A: 0x75680000 - 0x756C4000 (C:\Windows\system32\DNSAPI.dll)

winrnr.dll A: 0x6E250000 - 0x6E258000 (C:\Windows\System32\winrnr.dll)

IPHLPAPI.DLL A: 0x73EB0000 - 0x73ECC000 (C:\Windows\system32\IPHLPAPI.DLL)

WINNSI.DLL A: 0x73EA0000 - 0x73EA7000 (C:\Windows\system32\WINNSI.DLL)

rasadhlp.dll A: 0x6E9D0000 - 0x6E9D6000 (C:\Windows\system32\rasadhlp.dll)

CRYPTBASE.dll A: 0x75D20000 - 0x75D2C000 (C:\Windows\system32\CRYPTBASE.dll)

uxtheme.dll A: 0x749B0000 - 0x749F0000 (C:\Windows\system32\uxtheme.dll)

PROPSYS.dll A: 0x74B10000 - 0x74C05000 (C:\Windows\system32\PROPSYS.dll)

OLEAUT32.dll A: 0x76100000 - 0x7618F000 (C:\Windows\system32\OLEAUT32.dll)

ADVAPI32.dll A: 0x761B0000 - 0x76250000 (C:\Windows\system32\ADVAPI32.dll)

comctl32.dll A: 0x74C80000 - 0x74E26000 (C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll)

apphelp.dll A: 0x75CD0000 - 0x75D1C000 (C:\Windows\system32\apphelp.dll)

CLBCatQ.DLL A: 0x778E0000 - 0x77963000 (C:\Windows\system32\CLBCatQ.DLL)

iertutil.dll A: 0x77360000 - 0x77518000 (C:\Windows\system32\iertutil.dll)

urlmon.dll A: 0x771E0000 - 0x772F1000 (C:\Windows\system32\urlmon.dll)

WININET.dll A: 0x776B0000 - 0x777CB000 (C:\Windows\system32\WININET.dll)

Normaliz.dll A: 0x76190000 - 0x76193000 (C:\Windows\system32\Normaliz.dll)

SETUPAPI.dll A: 0x77040000 - 0x771DD000 (C:\Windows\system32\SETUPAPI.dll)

CFGMGR32.dll A: 0x75EC0000 - 0x75EE7000 (C:\Windows\system32\CFGMGR32.dll)

DEVOBJ.dll A: 0x75E20000 - 0x75E32000 (C:\Windows\system32\DEVOBJ.dll)

ntmarta.dll A: 0x75300000 - 0x75321000 (C:\Windows\system32\ntmarta.dll)

WLDAP32.dll A: 0x760B0000 - 0x760F5000 (C:\Windows\system32\WLDAP32.dll)

profapi.dll A: 0x75DA0000 - 0x75DAB000 (C:\Windows\system32\profapi.dll)

[/cut]
буду очень благодарен за помощь



Что бы победил один, другие должны проиграть !


Сообщение отредактировал Brilliant - Пятница, 16.11.2012, 13:53
ХасанДата: Пятница, 16.11.2012, 15:00 | Сообщение # 2
Группа: Модераторы
Сообщений: 2810
Награды: 388
Город: X-Files
Репутация: 2950
Замечания: 0%
Статус:
Quote (Brilliant)
SA-MP Server: 0.3e-R2

Exception At Address: 0x004937FB Module: (samp-server.exe)

Registers:

EAX: 0x0012F510 EBX: 0x039C2DA8 ECX: 0x00000000 EDX: 0x004056C0

ESI: 0x00000000 EDI: 0x01661360 EBP: 0x0012F520 ESP: 0x0012F4F8

EFLAGS: 0x00010286

Stack:

+0000: 0x01661360 0x01661360 0x039C2DA8 0xFFFFFFFF

+0010: 0x0012F4F8 0x0012F104 0x0012F6EC 0x00497668

+0020: 0x004B2330 0xFFFFFFFF 0x039C80D4 0x004056CD

+0030: 0x00000000 0x004010B6 0x01661360 0x04028D0C

+0040: 0x03C3E2E8 0x00402B63 0x01661360 0x00000028

+0050: 0x0012F560 0x04028D0C 0x0012FC54 0x01661360

+0060: 0x00000009 0x015F0090 0x00000000 0x003EAA20

+0070: 0x003EAA24 0x003EAAE4 0x003E6AE8 0x003EAA30

+0080: 0x003E6AE8 0x039C2DA8 0x03C3E2E8 0x00000000

+0090: 0x039C0020 0x0027B540 0x0046DC1E 0x01661360

+00A0: 0x0012F5B8 0x00000096 0x01661360 0x00000009

+00B0: 0x01661360 0x00000090 0x00000090 0x04351498

+00C0: 0x00000000 0x00480BAD 0x00000096 0x00000090

+00D0: 0x00000009 0x04351498 0x02DFA848 0x0012FB28

+00E0: 0x00000000 0x00000800 0x00000000 0x0012F5E9

+00F0: 0xF9A80101 0x00489BA4 0x0011000F 0x000000B0

+0100: 0x00000009 0x00489BB8 0x015F0358 0x0012FB50

+0110: 0x0000006F 0x0000001C 0x00000000 0x01288808

+0120: 0x015F0048 0x015F0190 0x0432FD18 0x015F0920

+0130: 0xF2E5CD00 0x0012F5C0 0xE220E0F7 0x0012F6E4

У меня вовремя игры такое,и я хз что это такое :(



малі діти недають нам спати - великі діти недають нам жити © Iван Миколайчук

— Вот ты говорил, город — сила, а здесь слабые все.
— Город — это злая сила. Сильный приезжает — становится слабым. Город забирает силу. Вот и ты пропал…© Брат

— ...лягушки падают с неба
— Видимо у них не раскрылись парашюты. © X-Files

— Разве вы не хотели бы жить вечно?
— Если в моде останутся штаны со стрелками то нет.© X-Files

Ибо таковые лжеапостолы, лукавые делатели, принимают вид Апостолов Христовых. И неудивительно: потому что сам сатана принимает вид Ангела света, а потому не великое дело, если и служители его принимают вид служителей правды; но конец их будет по делам их.
(2Кор 11:13-15).
Mr_FustДата: Пятница, 16.11.2012, 15:09 | Сообщение # 3
Постоялец
Группа: I'm V.I.P.
Сообщений: 445
Награды: 4
Город: Sorry, I don't know
Замечания: 0%
Статус:
Запусти сервер с этим плагином: http://forum.sa-mp.com/showthread.php?t=262796
Он должен найти по какой причине крашит сервер..



Я на СРК уже...
BrilliantДата: Пятница, 16.11.2012, 15:35 | Сообщение # 4
Освоившийся
Группа: Продвинутые
Сообщений: 81
Награды: 0
Город: Ekibas city
Репутация: 35
Замечания: 0%
Статус:
Quote (Mr_Fust)
Запусти сервер с этим плагином: http://forum.sa-mp.com/showthread.php?t=262796
Он должен найти по какой причине крашит сервер..

Спасибо, тоже вчера находил, читал, но большого значения не предал... теперь у меня такая проблема
[cut noguest=что тут является ошибкой ?][23:23:57] [debug] Run time error 4: "Array index out of bounds"
[23:23:57] [debug] Accessing element at index 12 past array upper bound 11
[23:23:57] [debug] AMX backtrace:
[23:23:57] [debug] #0 0003107c in public OnPlayerSpawn () from MZ.amx
[23:27:21] Component Added: 1008
[23:27:21] [debug] Server crashed while executing MZ.amx
[23:27:21] [debug] AMX backtrace:
[23:27:21] [debug] #0 native fclose () [004056c0] from samp-server.exe
[23:27:21] [debug] #1 0000532c in ?? () from MZ.amx
[23:27:21] [debug] #2 00273f90 in ?? () from MZ.amx
[23:27:21] [debug] #3 00272f64 in ?? () from MZ.amx
[23:27:21] [debug] #4 0006e374 in public OnPlayerSelectedMenuRow () from MZ.amx
[23:27:21] [debug] System backtrace:
[23:27:22] [debug] #0 004056cd in ?? () from C:\Новая папка\LV-RP\samp-server.exe
[23:27:22] [debug] #1 63a73c32 in ?? () from C:\Новая папка\LV-RP\plugins\crashdetect.DLL
[23:27:22] [debug] #2 63a76076 in ?? () from C:\Новая папка\LV-RP\plugins\crashdetect.DLL
[23:27:22] [debug] #3 63a6c05a in ?? () from C:\Новая папка\LV-RP\plugins\crashdetect.DLL
[23:27:22] [debug] #4 63a73c5e in ?? () from C:\Новая папка\LV-RP\plugins\crashdetect.DLL
[23:27:22] [debug] #5 0046e1fb in ?? () from C:\Новая папка\LV-RP\samp-server.exe
[23:27:22] [debug] #6 0048cc9f in ?? () from C:\Новая папка\LV-RP\samp-server.exe
[23:27:22] [debug] #7 77c72f77 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[23:27:22] [debug] #8 77c72e12 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[23:27:22] [debug] #9 77c72f77 in ?? () from C:\Windows\SYSTEM32\ntdll.dll[/cut]
в этот раз я заехал в тютнинг и установил нитро после чего крашнуло !



Что бы победил один, другие должны проиграть !
Mr_FustДата: Пятница, 16.11.2012, 15:44 | Сообщение # 5
Постоялец
Группа: I'm V.I.P.
Сообщений: 445
Награды: 4
Город: Sorry, I don't know
Замечания: 0%
Статус:
Дай public OnPlayerSpawn ()


Я на СРК уже...
BrilliantДата: Пятница, 16.11.2012, 21:46 | Сообщение # 6
Освоившийся
Группа: Продвинутые
Сообщений: 81
Награды: 0
Город: Ekibas city
Репутация: 35
Замечания: 0%
Статус:
возможно это связанно с новыми функция sa-mp'а давно не связывал себя с pawn, последний раз работал когда была версия 0.3с
[cut noguest=Вот]public OnPlayerSpawn(playerid)
{
new string[64];
PreloadAnimLib(playerid,"BOMBER");
PreloadAnimLib(playerid,"RAPPING");
PreloadAnimLib(playerid,"SHOP");
PreloadAnimLib(playerid,"BEACH");
PreloadAnimLib(playerid,"SMOKING");
PreloadAnimLib(playerid,"FOOD");
PreloadAnimLib(playerid,"ON_LOOKERS");
PreloadAnimLib(playerid,"DEALER");
PreloadAnimLib(playerid,"CRACK");
PreloadAnimLib(playerid,"CARRY");
PreloadAnimLib(playerid,"COP_AMBIENT");
PreloadAnimLib(playerid,"PARK");
PreloadAnimLib(playerid,"INT_HOUSE");
PreloadAnimLib(playerid,"FOOD");
PreloadAnimLib(playerid,"GANGS");
PreloadAnimLib(playerid,"KISSING");
PreloadAnimLib(playerid,"CAR_CHAT");
PreloadAnimLib(playerid,"DODGE");
PreloadAnimLib(playerid,"MD_END");
PreloadAnimLib(playerid,"MUSCULAR");
PreloadAnimLib(playerid,"MD_CHASE");
PreloadAnimLib(playerid,"FAT");
PreloadAnimLib(playerid,"SCRATCHING");
PreloadAnimLib(playerid,"GYMNASIUM");
PreloadAnimLib(playerid,"JST_BUISNESS");
PreloadAnimLib(playerid,"OTB");
PreloadAnimLib(playerid,"PLAYIDLES");
PreloadAnimLib(playerid,"ROB_BANK");
PreloadAnimLib(playerid,"PED");
ResetWorld(playerid);
IconInit(playerid);
SKtime[playerid] = 0;
UseSK[playerid] = 0;
CarBroken[playerid] = 0;
PlayerCuffed[playerid] = 0;
PlayerCuffedTime[playerid] = 0;
MI[playerid] = 0;
STDtime[playerid] = 0;
//UpdateCars(playerid);
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname,"dealer",true))
{
NPC[0] = playerid;
SetPlayerPos(NPC[0], 2259.5684,1398.7247,30.0234);
//SetPlayerColor(NPC[0],COLOR_LIGHTGREEN);
SetPlayerColor(NPC[0],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[0], 0, 29,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerFacingAngle(NPC[0], 90.0);
SetPlayerSkin(NPC[0], 29);
//SetPlayerSpecialAction(NPC[0], SPECIAL_ACTION_SMOKE_CIGGY);
return 1;
}
else if(!strcmp(npcname,"cop",true))
{
NPC[1] = playerid;
SetPlayerPos(NPC[1], 2238.6418,2449.3193,11.0372);
SetPlayerColor(NPC[1],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[1], 0, 282,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerFacingAngle(NPC[1], 90.0);
SetPlayerSkin(NPC[1], 282);
return 1;
}
else if(!strcmp(npcname,"Molly_Nilson",true))
{
NPC[2] = playerid;
SetPlayerPos(NPC[2], 359.7139,173.5689,1008.3893);
//SetPlayerColor(NPC[2],COLOR_LIGHTGREEN);
SetPlayerColor(NPC[2],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[2], 0, 76,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerFacingAngle(NPC[2], 266.9489);
SetPlayerSkin(NPC[2], 76);
//SetPlayerSpecialAction(NPC[0], SPECIAL_ACTION_SMOKE_CIGGY);
return 1;
}
else if(!strcmp(npcname,"old_harry",true))
{
NPC[3] = playerid;
SetPlayerPos(NPC[3], -1311.5226,2528.8994,87.6458);
SetPlayerColor(NPC[3],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[3], 0, 200,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerFacingAngle(NPC[3], 42.3767);
SetPlayerSkin(NPC[3], 200);
return 1;
}
else if(!strcmp(npcname,"bank1",true))
{
NPC[4] = playerid;
SetPlayerPos(NPC[4], -2469.2744,503.1488,25.8413 );
//SetPlayerColor(NPC[2],COLOR_LIGHTGREEN);
SetPlayerColor(NPC[4],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[4], 0, 11,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerFacingAngle(NPC[4], 270.00);
SetPlayerSkin(NPC[4], 11);
SetPlayerVirtualWorld(playerid, 1);
//SetPlayerSpecialAction(NPC[0], SPECIAL_ACTION_SMOKE_CIGGY);
return 1;
}
else if(!strcmp(npcname,"bank2",true))
{
NPC[5] = playerid;
SetPlayerPos(NPC[5], -2469.2756,495.2830,25.8413 );
//SetPlayerColor(NPC[2],COLOR_LIGHTGREEN);
SetPlayerColor(NPC[5],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[5], 0, 189,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerFacingAngle(NPC[5], 270.00);
SetPlayerSkin(NPC[5], 189);
SetPlayerVirtualWorld(playerid, 1);
//SetPlayerSpecialAction(NPC[0], SPECIAL_ACTION_SMOKE_CIGGY);
return 1;
}
/*else if(!strcmp(npcname,"traindriver",true))
{
NPC[6] = playerid;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetSpawnInfo(playerid, 0, 61,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(playerid, 61);
PutPlayerInVehicle(playerid, train, 0);
return 1;
}*/
else if(!strcmp(npcname,"radiog1",true))
{
NPC[7] = playerid;
SetPlayerColor(NPC[7],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[7], 0, 71,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[7], 71);
SetPlayerPos(NPC[7], -2017.8427,466.3844,35.1719 );
SetPlayerFacingAngle(NPC[7], 1.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}
else if(!strcmp(npcname,"radiog2",true))
{
NPC[8] = playerid;
SetPlayerColor(NPC[8],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[8], 0, 253,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[8], 253);
SetPlayerPos(NPC[8], -2041.7454,493.2254,35.1719 );
SetPlayerFacingAngle(NPC[8], 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}
/*else if(!strcmp(npcname,"telefon",true))
{
NPC[9] = playerid;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetSpawnInfo(playerid, 0, 124,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(playerid, 124);
//SetPlayerPos(playerid, -2041.7454,493.2254,35.1719 );
//SetPlayerFacingAngle(playerid, 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}
else if(!strcmp(npcname,"walking1",true))
{
NPC[10] = playerid;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetSpawnInfo(playerid, 0, 22,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(playerid, 22);
//SetPlayerPos(playerid, -2041.7454,493.2254,35.1719 );
//SetPlayerFacingAngle(playerid, 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}*/
else if(!strcmp(npcname,"photo",true))
{
NPC[11] = playerid;
SetPlayerColor(NPC[11],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[11], 0, 26,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[11], 26);
SetPlayerPos(playerid, -1982.3920,138.1069,27.6875 );
SetPlayerFacingAngle(playerid, 91.4996);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}
else if(!strcmp(npcname,"pilot",true))
{
NPC[12] = playerid;
SetPlayerColor(NPC[12],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[12], 0, 61,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[12], 61);
PutPlayerInVehicle(NPC[12], 453, 0);
//SetPlayerPos(playerid, -2041.7454,493.2254,35.1719 );
//SetPlayerFacingAngle(playerid, 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}
/*else if(!strcmp(npcname,"heliLV",true))
{
NPC[13] = playerid;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetSpawnInfo(playerid, 0, 24,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(playerid, 24);
//SetPlayerPos(playerid, -2041.7454,493.2254,35.1719 );
//SetPlayerFacingAngle(playerid, 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}*/
/*else if(!strcmp(npcname,"copheli",true))
{
NPC[14] = playerid;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetSpawnInfo(playerid, 0, 284,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(playerid, 284);
PutPlayerInVehicle(playerid, 455, 0);
//SetPlayerPos(playerid, -2041.7454,493.2254,35.1719 );
//SetPlayerFacingAngle(playerid, 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}*/
else if(!strcmp(npcname,"jetpilot",true))
{
NPC[15] = playerid;
SetPlayerColor(NPC[15],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[15], 0, 61,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[15], 61);
PutPlayerInVehicle(NPC[15], 456, 0);
//SetPlayerPos(playerid, -2041.7454,493.2254,35.1719 );
//SetPlayerFacingAngle(playerid, 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}
else if(!strcmp(npcname,"airportstaff",true))
{
NPC[16] = playerid;
SetPlayerColor(NPC[16],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[16], 0, 172,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[16], 172);
SetPlayerPos(NPC[16], 1629.2456,1447.9033,10.7893 );
SetPlayerFacingAngle(NPC[16], 273.8064);
SetPlayerVirtualWorld(NPC[16], 1);
return 1;
}
else if(!strcmp(npcname,"airportcopLV",true))
{
NPC[17] = playerid;
SetPlayerColor(NPC[17],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[17], 0, 282,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[17], 282);
SetPlayerPos(NPC[17], 1636.2106,1432.9175,10.7828 );
SetPlayerFacingAngle(NPC[17], 180.3609);
SetPlayerVirtualWorld(NPC[17], 1);
return 1;
}
else if(!strcmp(npcname,"airportcopSF",true))
{
NPC[18] = playerid;
SetPlayerColor(NPC[18],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[18], 0, 281,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[18], 281);
SetPlayerPos(NPC[18], 1450.2957,-249.3776,15.5828 );
SetPlayerFacingAngle(NPC[18], 91.6867);
SetPlayerVirtualWorld(NPC[18], 1);
return 1;
}
else if(!strcmp(npcname,"lvpcop1",true))
{
NPC[19] = playerid;
SetPlayerColor(NPC[19],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[19], 0, 282,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[19], 282);
SetPlayerPos(NPC[19], 233.0478,165.8597,1003.0234 );
SetPlayerFacingAngle(NPC[19], 271.6365);
SetPlayerVirtualWorld(NPC[19], 0);
return 1;
}
else if(!strcmp(npcname,"lvpcop2",true))
{
NPC[20] = playerid;
SetPlayerColor(NPC[20],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[20], 0, 282,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[20], 282);
SetPlayerPos(NPC[20], 293.8304,182.3224,1007.1719 );
SetPlayerFacingAngle(NPC[20], 147.636806);
SetPlayerVirtualWorld(NPC[20], 0);
return 1;
}
else if(!strcmp(npcname,"tramdriver",true))
{
NPC[21] = playerid;
SetPlayerColor(NPC[21],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[21], 0, 202,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[21], 202);
PutPlayerInVehicle(NPC[21], 462, 0);
return 1;
}
else if(!strcmp(npcname,"sfcityhall",true))
{
NPC[22] = playerid;
SetPlayerColor(NPC[22],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[22], 0, 187,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[22], 187);
//SetPlayerPos(NPC[22], 361.8299,173.4881,1008.3828 );
SetPlayerPos(NPC[22], -1461.6378,919.0031,-3.5092 );
SetPlayerFacingAngle(NPC[22], 47.4317);
return 1;
}
else if(!strcmp(npcname,"airportstaffsf",true))
{
NPC[23] = playerid;
SetPlayerColor(NPC[23],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[23], 0, 172,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[23], 171);
SetPlayerPos(NPC[23], -1435.2249,-242.3197,15.5893 );
SetPlayerFacingAngle(NPC[23], 179.9742);
SetPlayerVirtualWorld(NPC[23], 1);
return 1;
}
else if(!strcmp(npcname,"sfpcop1",true))
{
NPC[24] = playerid;
SetPlayerColor(NPC[24],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[24], 0, 281,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(NPC[24], 281);
SetPlayerPos(NPC[24], 238.7512,112.9218,1003.2188 );
SetPlayerFacingAngle(NPC[24], 262.8057 );
SetPlayerVirtualWorld(NPC[24], 0);
return 1;
}
/*else if(!strcmp(npcname,"armypilot",true))
{
NPC[16] = playerid;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetSpawnInfo(playerid, 0, 61,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerSkin(playerid, 61);
PutPlayerInVehicle(playerid, 442, 0);
//SetPlayerPos(playerid, -2041.7454,493.2254,35.1719 );
//SetPlayerFacingAngle(playerid, 87.7001);
//PutPlayerInVehicle(playerid, 453, 0);
return 1;
}*/
/*else if(!strcmp(npcname,"guide",true))
{
NPC[3] = playerid;
SetPlayerPos(NPC[3], 1685.2351,1438.9668,10.7701);
//SetPlayerColor(NPC[3],COLOR_LIGHTGREEN);
SetPlayerColor(NPC[3],TEAM_HIT_COLOR);
SetSpawnInfo(NPC[3], 0, 147,0.0,0.0,0.0,0,0,0,0,0,0,0);
SetPlayerFacingAngle(NPC[3], 2.4629);
SetPlayerSkin(NPC[3], 147);
//SetPlayerSpecialAction(NPC[0], SPECIAL_ACTION_SMOKE_CIGGY);
return 1;
}*/
}
if(PlayerInfo[playerid][pAFK] == 0)
{
format(string, sizeof(string), "[ID]:%d", playerid);
UpdateDynamic3DTextLabelText(STATUS[playerid], COLOR_PURPLE, string);
//STATUS[playerid] = CreateDynamic3DTextLabel(string, COLOR_PURPLE,0.0,0.0,0.3,30.0, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
if(PlayerInfo[playerid][pMasked] == 0)
{
format(string, sizeof(string), "[ID]:%d", playerid);
UpdateDynamic3DTextLabelText(STATUS[playerid], COLOR_PURPLE, string);
//STATUS[playerid] = CreateDynamic3DTextLabel(string, COLOR_PURPLE,0.0,0.0,0.3,30.0, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
}
else if(PlayerInfo[playerid][pMasked] == 1)
{
format(string, sizeof(string), "[ID]:%d (( â ìàñêå ))", playerid);
UpdateDynamic3DTextLabelText(STATUS[playerid], COLOR_PURPLE, string);
//STATUS[playerid] = CreateDynamic3DTextLabel(string, COLOR_PURPLE,0.0,0.0,0.3,30.0, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
}
}
if(PlayerInfo[playerid][pAFK] == 1)
{
//STATUS[playerid] = CreateDynamic3DTextLabel(string, COLOR_PURPLE,0.0,0.0,0.3,30.0, playerid, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
UpdateDynamic3DTextLabelText(STATUS[playerid], COLOR_PURPLE, string);
//TogglePlayerControllable(playerid, false);
SendClientMessage(playerid, COLOR_GREY, "Òåïåðü âàñ íåò â ÐÏ (ÀÔÊ)!");
}
//SetPlayerWantedLevel(playerid, PlayerInfo[playerid][pWanted]);
GameTextForPlayer(playerid, "Visit www.citywicked.do.am", 10000, 3);
/*if(PlayerInfo[playerid][pWanted] == 0)
{
SetPlayerWantedLevel(playerid, 0);
}*/
//SendClientMessage(playerid, COLOR_LIGHTRED, "Ïðîâåðêà ñòàòóñà....");
gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Team
if (gTeam[playerid] == 4) //medic / criminal reset team
{
gTeam[playerid] = 3;
}
if(gPlayerLogged[playerid] == 0)
{
if(IsPlayerNPC(playerid)) return 1;
SendClientMessage(playerid, COLOR_LIGHTRED, "** Âàì íàäî àâòîðèçèðîâàòüñÿ/çàðåãåñòðèðîâàòüñÿ ïðåæäå ÷åì èãðàòü. **");
KickPlayer[playerid] = 1;
}
if(gTeam[playerid] == 11 && PlayerInfo[playerid][pLeader] < 1)
{
MedicBill[playerid] = 0;
SendClientMessage(playerid, COLOR_LIGHTRED, "Ñåðâåð íàñòðàèâàåò êëàññ âàøåãî ïåðñîíàæà...");
SendClientMessage(playerid, COLOR_LIGHTRED, "Âû íå Ëèäåð. Âû ãîðîæàíèí.");
PlayerInfo[playerid][pTeam] = 3;
gTeam[playerid] = 3;
//SetSpawnInfo(playerid, gTeam[playerid], PlayerInfo[playerid][pModel],0.0,0.0,0.0,0,0,0,0,0,0,0);
//SpawnPlayer(playerid);
}
if(gTeam[playerid] == 5)
{
if(PlayerInfo[playerid][pMember] < 1)
{
MedicBill[playerid] = 0;
SendClientMessage(playerid, COLOR_LIGHTRED, "Ñåðâåð íàñòðàèâàåò êëàññ âàøåãî ïåðñîíàæà...");
SendClientMessage(playerid, COLOR_LIGHTRED, "Âû íå ÷ëåí ñåìüè. Âû ãîðîæàíèí.");
PlayerInfo[playerid][pTeam] = 3;
gTeam[playerid] = 3;
//SetSpawnInfo(playerid, gTeam[playerid], PlayerInfo[playerid][pModel],0.0,0.0,0.0,0,0,0,0,0,0,0);
//SpawnPlayer(playerid);
}
}
if(gTeam[playerid] == 10)
{
if(PlayerInfo[playerid][pMember] != 7)
{
MedicBill[playerid] = 0;
SendClientMessage(playerid, COLOR_LIGHTRED, "Ñåðâåð íàñòðàèâàåò êëàññ âàøåãî ïåðñîíàæà...");
SendClientMessage(playerid, COLOR_LIGHTRED, "Âû íå ÷ëåí Àãåíñòâà. Âû ãîðîæàíèí.");
PlayerInfo[playerid][pTeam] = 3;
gTeam[playerid] = 3;
//SetSpawnInfo(playerid, gTeam[playerid], PlayerInfo[playerid][pModel],0.0,0.0,0.0,0,0,0,0,0,0,0);
//SpawnPlayer(playerid);
}
}
if(gTeam[playerid] == 3)
{
if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Ñåðâåð íàñòðàèâàåò êëàññ âàøåãî ïåðñîíàæà...");
MedicBill[playerid] = 0;
new model = PlayerInfo[playerid][pModel];
if(PlayerInfo[playerid][pMember] > 0) { /*SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0);*/ PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }
else if(PlayerInfo[playerid][pLeader] > 0) { /*SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0);*/ PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
//SetSpawnInfo(playerid, team, model,0.0,0.0,0.0,0,0,0,0,0,0,0);
//SpawnPlayer(playerid);
}
}
if(PlayerInfo[playerid][pChar] > 0)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pMember] == 9)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
OnDuty[playerid] = 1;
tazers[playerid] = 5;
cuffss[playerid] = 2;
PlayerInfo[playerid][pRadio] = 1;
RadioOnline[playerid] = 1;
}
}
else
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
}
//SetPlayerWeapons(playerid);
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL, PlayerInfo[playerid][pPistolS]);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SHOTGUN, PlayerInfo[playerid][pShotgunS]);
SetPlayerSkillLevel(playerid,WEAPONSKILL_DESERT_EAGLE, PlayerInfo[playerid][pDesertS]);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI, PlayerInfo[playerid][pUziS]);
if(PlayerInfo[playerid][pDraka] == 1)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
}
else if(PlayerInfo[playerid][pKneehead] == 1)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
}
else if(PlayerInfo[playerid][pKunfu] == 1)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
}
else if(PlayerInfo[playerid][pGrabkick] == 1)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
}
else
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
}
if(PlayerInfo[playerid][pHealth] > 0)
{
SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
}
if(PlayerInfo[playerid][pHealth] <= 0)
{
SetPlayerHealth(playerid, 50.0);
PlayerInfo[playerid][pHealth] = 50.0;
}
SetPlayerSpawn(playerid);
SetPlayerToTeamColor(playerid);
PlayerFixRadio(playerid);
for(new i = 0; i < sizeof(Turfs); i++)
{
GangZoneShowForPlayer(playerid, i, TurfInfo[i][zColor]);
}
if(MapIconsShown[playerid] != 1)
{
MapIconsShown[playerid] = 1;
//----------------------------------------------------------------------
new b[] = { 0,1,2,3,4,6,8,9,10,41,42,43 };
for(new i = 0; i < sizeof(b); i++)
{
SetPlayerMapIcon(playerid,b[i]+18,BizzInfo[b[i]][bEntranceX],BizzInfo[b[i]][bEntranceY],BizzInfo[b[i]][bEntranceZ],52,COLOR_LIGHTRED);
}
//----------------------------------------------------------------------
new sb[] = { 2,3,4,5,6,7,10,11,12,13,14,15,16,17 };
for(new i = 0; i < sizeof(sb); i++)
SetPlayerMapIcon(playerid,b[i]+sb[i]+18,SBizzInfo[sb[i]][sbEntranceX],SBizzInfo[sb[i]][sbEntranceY],SBizzInfo[sb[i]][sbEntranceZ],52,COLOR_LIGHTRED);
//----------------------------------------------------------------------
new bar[] = { 29,36,46,47};
for(new i = 0; i < sizeof(bar); i++)
{
SetPlayerMapIcon(playerid,b[i]+sb[i]+bar[i]+18,BizzInfo[bar[i]][bEntranceX],BizzInfo[bar[i]][bEntranceY],BizzInfo[bar[i]][bEntranceZ],49,COLOR_LIGHTRED);
}
//----------------------------------------------------------------------
new club[] = { 33,34,35,38,45 };
for(new i = 0; i < sizeof(club); i++)
{
SetPlayerMapIcon(playerid,b[i]+sb[i]+bar[i]+club[i]+18,BizzInfo[club[i]][bEntranceX],BizzInfo[club[i]][bEntranceY],BizzInfo[club[i]][bEntranceZ],48,COLOR_LIGHTRED);
}
}
return 1;
}[/cut]

Добавлено (16.11.2012, 21:46)
---------------------------------------------
Извиняюсь тема закрыта, проблема решена не было папки сохранения для тюнинга в scriptfiles !


Что бы победил один, другие должны проиграть !
Форум SAMP о мультиплеерах для GTA. » SAMP скачивание и обсуждение » Вопросы и Проблемы » RG 1.8.5 (LV-RP) (Крашит сервер)
Страница 1 из 11
Поиск:





 


 


 
Хостинг от uCoz SAMP-RUS.COM