Server Crash
#1

the server loading..

and then crush

how can i fix that?

Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[14:54:32]
[14:54:32] Server Plugins
[14:54:32] --------------
[14:54:32] Loading plugin: streamer
[14:54:32]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[14:54:32] Loaded.
[14:54:32] Loading plugin: sscanf
[14:54:32]

[14:54:32] ===============================

[14:54:32] sscanf plugin loaded.

[14:54:32] © 2009 Alex "******" Cole

[14:54:32] 0.3d-R2 500 Players "dnee"

[14:54:32] ===============================

[14:54:32] Loaded.
[14:54:32] Loading plugin: mysql
[14:54:32]

> MySQL plugin R7 successfully loaded.

[14:54:32] Loaded.
[14:54:32] Loading plugin: Whirlpool
[14:54:32]
[14:54:32] ==================
[14:54:32]
[14:54:32] Whirlpool loaded
[14:54:32]
[14:54:32] ==================
[14:54:32]
[14:54:32] Loaded.
[14:54:32] Loaded 4 plugins.

[14:54:32]
[14:54:32] Ban list
[14:54:32] --------
[14:54:32] Loaded: samp.ban
[14:54:32]
[14:54:32]
[14:54:32] Filterscripts
[14:54:32] ---------------
[14:54:32] Loading filterscript 'yom_buttons.amx'...
[14:54:32] Loading filterscript 'gcustom.amx'...
[14:54:32] Loaded 2 filterscripts.

[14:54:33]
[14:54:33] =======================================
[14:54:33] | |
[14:54:33] | YSI version 3.01.0002 |
[14:54:33] | By Alex "******" Cole |
[14:54:33] | |
[14:54:33] =======================================
[14:54:33]
[14:54:33] This server folder has been put together by Ricky Phelps.
[14:54:33] [MySQL] (Main Pipelines) Connecting to localhost...
[14:54:33] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[14:54:33] [LoadHouses] Loading data from database...
[14:54:33] [LoadDynamicDoors] Loading data from database...
[14:54:33] [LoadDynamicMapIcons] Loading data from database...
[14:54:33] [LoadTurfWars] 0 turfs loaded.
[14:54:33] [LoadPaintballArenas] 10 paintball arenas loaded.
[14:54:33] [LoadGates] 4000 gates loaded.
[14:54:33] [LoadFamilies] 16 families loaded.
[14:54:33] [LoadPoints] 9 points loaded.
[14:54:33] [LoadCDealerships] 15 dealerships loaded.

Reply
#2

are you using samp 3.0x ?? if you don't just download it.

its kinda weird because i can't find any error infront of me can you post "server_log.exe" ??

by the way you know there is Russians area in language's section you can post this thread there or request move if you can inform them with more details.
Reply
#3

He's using 0.3e

Load crashdetect.
Reply
#4

Quote:
Originally Posted by Omar55555
Посмотреть сообщение
are you using samp 3.0x ?? if you don't just download it.

its kinda weird because i can't find any error infront of me can you post "server_log.exe" ??

by the way you know there is Russians area in language's section you can post this thread there or request move if you can inform them with more details.
yes i'm using 0.3x

Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[15:36:28]
[15:36:28] Server Plugins
[15:36:28] --------------
[15:36:28] Loading plugin: streamer
[15:36:28]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[15:36:28] Loaded.
[15:36:28] Loading plugin: sscanf
[15:36:28]

[15:36:28] ===============================

[15:36:28] sscanf plugin loaded.

[15:36:28] © 2009 Alex "******" Cole

[15:36:28] 0.3d-R2 500 Players "dnee"

[15:36:28] ===============================

[15:36:28] Loaded.
[15:36:28] Loading plugin: mysql
[15:36:28]

> MySQL plugin R7 successfully loaded.

[15:36:28] Loaded.
[15:36:28] Loading plugin: Whirlpool
[15:36:28]
[15:36:28] ==================
[15:36:28]
[15:36:28] Whirlpool loaded
[15:36:28]
[15:36:28] ==================
[15:36:28]
[15:36:28] Loaded.
[15:36:28] Loaded 4 plugins.

[15:36:28]
[15:36:28] Ban list
[15:36:28] --------
[15:36:28] Loaded: samp.ban
[15:36:28]
[15:36:28]
[15:36:28] Filterscripts
[15:36:28] ---------------
[15:36:28] Loading filterscript 'yom_buttons.amx'...
[15:36:28] Loading filterscript 'gcustom.amx'...
[15:36:29] Loaded 2 filterscripts.

[15:36:29]
[15:36:29] =======================================
[15:36:29] | |
[15:36:29] | YSI version 3.01.0002 |
[15:36:29] | By Alex "******" Cole |
[15:36:29] | |
[15:36:29] =======================================
[15:36:29]
[15:36:29] This server folder has been put together by Ricky Phelps.
[15:36:29] [MySQL] (Main Pipelines) Connecting to localhost...
[15:36:29] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[15:36:29] [LoadHouses] Loading data from database...
[15:36:29] [LoadDynamicDoors] Loading data from database...
[15:36:29] [LoadDynamicMapIcons] Loading data from database...
[15:36:29] [LoadTurfWars] 0 turfs loaded.
[15:36:29] [LoadPaintballArenas] 10 paintball arenas loaded.
[15:36:29] [LoadGates] 4000 gates loaded.
[15:36:29] [LoadFamilies] 16 families loaded.
[15:36:29] [LoadPoints] 9 points loaded.
[15:36:29] [LoadCDealerships] 15 dealerships loaded.

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
He's using 0.3e

Load crashdetect.
crashinfo.txt is that what you want?
Quote:


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

SA-MP Server: 0.3x-R2



Exception At Address: 0x7C90100B Module: (ntdll.dll)



Registers:

EAX: 0x00000020 EBX: 0x000000A0 ECX: 0x7FFDF000 EDX: 0x00000020

ESI: 0x0A44F7E0 EDI: 0x0A44F804 EBP: 0x0012E000 ESP: 0x0012DFC4

EFLAGS: 0x00010202



Stack:

+0000: 0x00492980 0x00000020 0x004992E0 0x00000000

+0010: 0x0A44F804 0x0A44F7E0 0x000000A0 0x07E57DE8

+0020: 0x4E5C3A44 0x0012DFD4 0x0012DBE8 0x0012FE5C

+0030: 0x00496FD8 0x004B2CA0 0xFFFFFFFF 0x000000A0

+0040: 0x00492FB0 0x00000000 0x00404F14 0x00000000

+0050: 0x0012E02C 0x0A44F7E0 0x000000A0 0x0012E0F4

+0060: 0xFFFFFFFF 0x004946F1 0x0041DB2E 0x0046C6A7

+0070: 0x00405802 0x00000000 0x000000A0 0x00000001

+0080: 0x00000000 0x02749A20 0x02168C34 0x004F2398

+0090: 0x02749A20 0x07F05190 0x07E57DE8 0x00000FD6

+00A0: 0x00000002 0xFFFFFFFF 0x00000000 0x02003531

+00B0: 0x0000000C 0x0012E0C4 0x02753028 0x000161C0

+00C0: 0x00000004 0x0012DFE4 0x009C0000 0x0012E0CC

+00D0: 0x7C90E920 0x7C910060 0x00000000 0x00000000

+00E0: 0x01012BE1 0x02749A20 0x07E66694 0x00498CC9

+00F0: 0x0046E4E2 0x004F13C1 0x00000FFF 0x09301580

+0100: 0x02749A20 0x0A44F690 0x0012E0EC 0x00000FD6

+0110: 0x004057A0 0x02749A20 0x02168938 0x004057B0

+0120: 0x02749A20 0x02749A20 0x07E57DE8 0x00000087

+0130: 0x07EFE640 0x004010B6 0x02749A20 0x0A44F804



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



Loaded Modules:

samp-server.exe A: 0x00400000 - 0x004F5000 (D:\NGRP 0.3x\samp-server.exe)

ntdll.dll A: 0x7C900000 - 0x7C9B2000 (C:\WINDOWS\system32\ntdll.dll)

kernel32.dll A: 0x7C800000 - 0x7C8F6000 (C:\WINDOWS\system32\kernel32.dll)

SHELL32.dll A: 0x7C9C0000 - 0x7D1D8000 (C:\WINDOWS\system32\SHELL32.dll)

ADVAPI32.dll A: 0x77DD0000 - 0x77E6B000 (C:\WINDOWS\system32\ADVAPI32.dll)

RPCRT4.dll A: 0x77E70000 - 0x77F03000 (C:\WINDOWS\system32\RPCRT4.dll)

Secur32.dll A: 0x77FE0000 - 0x77FF1000 (C:\WINDOWS\system32\Secur32.dll)

GDI32.dll A: 0x77F10000 - 0x77F59000 (C:\WINDOWS\system32\GDI32.dll)

USER32.dll A: 0x7E410000 - 0x7E4A1000 (C:\WINDOWS\system32\USER32.dll)

msvcrt.dll A: 0x77C10000 - 0x77C68000 (C:\WINDOWS\system32\msvcrt.dll)

SHLWAPI.dll A: 0x77F60000 - 0x77FD6000 (C:\WINDOWS\system32\SHLWAPI.dll)

WSOCK32.dll A: 0x71AD0000 - 0x71AD9000 (C:\WINDOWS\system32\WSOCK32.dll)

WS2_32.dll A: 0x71AB0000 - 0x71AC7000 (C:\WINDOWS\system32\WS2_32.dll)

WS2HELP.dll A: 0x71AA0000 - 0x71AA8000 (C:\WINDOWS\system32\WS2HELP.dll)

WINMM.dll A: 0x76B40000 - 0x76B6D000 (C:\WINDOWS\system32\WINMM.dll)

IMM32.DLL A: 0x76390000 - 0x763AD000 (C:\WINDOWS\system32\IMM32.DLL)

LPK.DLL A: 0x629C0000 - 0x629C9000 (C:\WINDOWS\system32\LPK.DLL)

USP10.dll A: 0x74D90000 - 0x74DFB000 (C:\WINDOWS\system32\USP10.dll)

comctl32.dll A: 0x773D0000 - 0x774D3000 (C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll)

comctl32.dll A: 0x5D090000 - 0x5D12A000 (C:\WINDOWS\system32\comctl32.dll)

streamer.dll A: 0x10000000 - 0x1003B000 (D:\NGRP 0.3x\plugins\streamer.dll)

MSVCP90.dll A: 0x78480000 - 0x7850E000 (C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9 a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll)

MSVCR90.dll A: 0x78520000 - 0x785C3000 (C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9 a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll)

sscanf.dll A: 0x009F0000 - 0x009FC000 (D:\NGRP 0.3x\plugins\sscanf.dll)

MSVCR100.dll A: 0x78AA0000 - 0x78B5F000 (C:\WINDOWS\system32\MSVCR100.dll)

mysql.dll A: 0x00BB0000 - 0x00BC5000 (D:\NGRP 0.3x\plugins\mysql.dll)

LIBMYSQL.dll A: 0x00BE0000 - 0x00D21000 (D:\NGRP 0.3x\LIBMYSQL.dll)

mswsock.dll A: 0x71A50000 - 0x71A8F000 (C:\WINDOWS\System32\mswsock.dll)

DNSAPI.dll A: 0x76F20000 - 0x76F47000 (C:\WINDOWS\system32\DNSAPI.dll)

iphlpapi.dll A: 0x76D60000 - 0x76D79000 (C:\WINDOWS\system32\iphlpapi.dll)

winrnr.dll A: 0x76FB0000 - 0x76FB8000 (C:\WINDOWS\System32\winrnr.dll)

WLDAP32.dll A: 0x76F60000 - 0x76F8C000 (C:\WINDOWS\system32\WLDAP32.dll)

rasadhlp.dll A: 0x76FC0000 - 0x76FC6000 (C:\WINDOWS\system32\rasadhlp.dll)

Whirlpool.dll A: 0x00EC0000 - 0x00ECC000 (D:\NGRP 0.3x\plugins\Whirlpool.dll)

urlmon.dll A: 0x78130000 - 0x78264000 (C:\WINDOWS\system32\urlmon.dll)

OLEAUT32.dll A: 0x77120000 - 0x771AB000 (C:\WINDOWS\system32\OLEAUT32.dll)

iertutil.dll A: 0x3DFD0000 - 0x3E1BC000 (C:\WINDOWS\system32\iertutil.dll)

VERSION.dll A: 0x77C00000 - 0x77C08000 (C:\WINDOWS\system32\VERSION.dll)

uxtheme.dll A: 0x5AD70000 - 0x5ADA8000 (C:\WINDOWS\system32\uxtheme.dll)

MSCTF.dll A: 0x74720000 - 0x7476C000 (C:\WINDOWS\system32\MSCTF.dll)

WININET.dll A: 0x3D930000 - 0x3DA17000 (C:\WINDOWS\system32\WININET.dll)

Normaliz.dll A: 0x00FB0000 - 0x00FB9000 (C:\WINDOWS\system32\Normaliz.dll)

RASAPI32.dll A: 0x76EE0000 - 0x76F1C000 (C:\WINDOWS\system32\RASAPI32.dll)

rasman.dll A: 0x76E90000 - 0x76EA2000 (C:\WINDOWS\system32\rasman.dll)

NETAPI32.dll A: 0x5B860000 - 0x5B8B6000 (C:\WINDOWS\system32\NETAPI32.dll)

TAPI32.dll A: 0x76EB0000 - 0x76EDF000 (C:\WINDOWS\system32\TAPI32.dll)

rtutils.dll A: 0x76E80000 - 0x76E8E000 (C:\WINDOWS\system32\rtutils.dll)

USERENV.dll A: 0x769C0000 - 0x76A74000 (C:\WINDOWS\system32\USERENV.dll)

credssp.dll A: 0x59C00000 - 0x59C07000 (C:\WINDOWS\system32\credssp.dll)

CRYPT32.dll A: 0x77A80000 - 0x77B15000 (C:\WINDOWS\system32\CRYPT32.dll)

MSASN1.dll A: 0x77B20000 - 0x77B32000 (C:\WINDOWS\system32\MSASN1.dll)

schannel.dll A: 0x767F0000 - 0x76819000 (C:\WINDOWS\system32\schannel.dll)

msv1_0.dll A: 0x77C70000 - 0x77C95000 (C:\WINDOWS\system32\msv1_0.dll)

cryptdll.dll A: 0x76790000 - 0x7679C000 (C:\WINDOWS\system32\cryptdll.dll)

sensapi.dll A: 0x722B0000 - 0x722B5000 (C:\WINDOWS\system32\sensapi.dll)

hnetcfg.dll A: 0x662B0000 - 0x66308000 (C:\WINDOWS\system32\hnetcfg.dll)

wshtcpip.dll A: 0x71A90000 - 0x71A98000 (C:\WINDOWS\System32\wshtcpip.dll)

MPRAPI.dll A: 0x76D40000 - 0x76D58000 (C:\WINDOWS\system32\MPRAPI.dll)

ACTIVEDS.dll A: 0x77CC0000 - 0x77CF2000 (C:\WINDOWS\system32\ACTIVEDS.dll)

adsldpc.dll A: 0x76E10000 - 0x76E35000 (C:\WINDOWS\system32\adsldpc.dll)

ATL.DLL A: 0x76B20000 - 0x76B31000 (C:\WINDOWS\system32\ATL.DLL)

SAMLIB.dll A: 0x71BF0000 - 0x71C03000 (C:\WINDOWS\system32\SAMLIB.dll)

SETUPAPI.dll A: 0x77920000 - 0x77A13000 (C:\WINDOWS\system32\SETUPAPI.dll)

Reply
#5

Quote:
Originally Posted by Shirley
Посмотреть сообщение
yes i'm using 0.3x





crashinfo.txt is that what you want?
Quote:

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

No, load crashdetect plugin and then show us the results.
Reply
#6

Konstantinos means, download this Plugin and add it on server.cfg and give us the crash results, it will be located on server_log.txt

Plugin Link: https://sampforum.blast.hk/showthread.php?tid=262796
Reply
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
He's using 0.3e

Load crashdetect.
[15:00:54] [debug] Server crashed while executing NGRP_main.amx
[15:00:54] [debug] AMX backtrace:
[15:00:54] [debug] #0 native fread () [004057a0] from samp-server.exe
[15:00:54] [debug] #1 000a6858 in ?? () from NGRP_main.amx
[15:00:54] [debug] #2 000c02d4 in public zcmd_OnGameModeInit () from NGRP_main.amx
[15:00:54] [debug] #3 native CallLocalFunction () [00472260] from samp-server.exe
[15:00:54] [debug] #4 0001f874 in public S@@_OnGameModeInit () from NGRP_main.amx
[15:00:54] [debug] #5 native CallLocalFunction () [00472260] from samp-server.exe
[15:00:54] [debug] #6 00014454 in public S@@_OnGameModeInit () from NGRP_main.amx
[15:00:54] [debug] #7 native CallLocalFunction () [00472260] from samp-server.exe
[15:00:54] [debug] #8 0000eba8 in public Itter_OnGameModeInit () from NGRP_main.amx
[15:00:54] [debug] #9 native CallLocalFunction () [00472260] from samp-server.exe
[15:00:54] [debug] #10 00007f54 in public SSCANF_OnGameModeInit () from NGRP_main.amx
[15:00:54] [debug] #11 native CallLocalFunction () [00472260] from samp-server.exe
[15:00:54] [debug] #12 000016d8 in public Streamer_OnGameModeInit () from NGRP_main.amx
[15:00:54] [debug] #13 native CallLocalFunction () [00472260] from samp-server.exe
[15:00:54] [debug] #14 00000bd8 in public OnGameModeInit () from NGRP_main.amx
[15:00:54] [debug] System backtrace:
[15:00:54] [debug] #0 00491f90 in ?? () from C:\Users\test\Downloads\Compressed\NGRP 0.3x\samp-server.exe
[15:00:54] [debug] #1 004925c0 in ?? () from C:\Users\test\Downloads\Compressed\NGRP 0.3x\samp-server.exe
[15:00:54] [debug] #2 00404f44 in ?? () from C:\Users\test\Downloads\Compressed\NGRP 0.3x\samp-server.exe
Reply
#8

It gets crashed when it uses fread in OnGameModeInit. Would you mind to do one more thing just to be easier to fix it.

Goto pawno directory and create a file called pawn.cfg. Open the file and write inside:
pawn Код:
-d3
Save it and re-compile NGRP_main.pwn

Start your server once again and if it gets crashed, show us the results. It should post the line it was caused at.

Also, you'll need to show us your OnGameModeInit too.

PS: Please, update your server package, includes and plugins. You're using 0.3e and we're on 0.3x
Reply
#9

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It gets crashed when it uses fread in OnGameModeInit. Would you mind to do one more thing just to be easier to fix it.

Goto pawno directory and create a file called pawn.cfg. Open the file and write inside:
pawn Код:
-d3
Save it and re-compile NGRP_main.pwn

Start your server once again and if it gets crashed, show us the results. It should post the line it was caused at.

Also, you'll need to show us your OnGameModeInit too.

PS: Please, update your server package, includes and plugins. You're using 0.3e and we're on 0.3x
crashdetect


Quote:

[15:12:31] [debug] Server crashed while executing NGRP_main.amx
[15:12:31] [debug] AMX backtrace:
[15:12:31] [debug] #0 native fread () [004057a0] from samp-server.exe
[15:12:31] [debug] #1 000d2e80 in ?? () from NGRP_main.amx
[15:12:31] [debug] #2 000f566c in public zcmd_OnGameModeInit () from NGRP_main.amx
[15:12:31] [debug] #3 native CallLocalFunction () [00472260] from samp-server.exe
[15:12:31] [debug] #4 00025444 in public S@@_OnGameModeInit () from NGRP_main.amx
[15:12:31] [debug] #5 native CallLocalFunction () [00472260] from samp-server.exe
[15:12:31] [debug] #6 00018078 in public S@@_OnGameModeInit () from NGRP_main.amx
[15:12:31] [debug] #7 native CallLocalFunction () [00472260] from samp-server.exe
[15:12:31] [debug] #8 000117d8 in public Itter_OnGameModeInit () from NGRP_main.amx
[15:12:31] [debug] #9 native CallLocalFunction () [00472260] from samp-server.exe
[15:12:31] [debug] #10 00009304 in public SSCANF_OnGameModeInit () from NGRP_main.amx
[15:12:31] [debug] #11 native CallLocalFunction () [00472260] from samp-server.exe
[15:12:31] [debug] #12 00001a44 in public Streamer_OnGameModeInit () from NGRP_main.amx
[15:12:31] [debug] #13 native CallLocalFunction () [00472260] from samp-server.exe
[15:12:31] [debug] #14 00000d70 in public OnGameModeInit () from NGRP_main.amx
[15:12:31] [debug] System backtrace:
[15:12:31] [debug] #0 00491f90 in ?? () from C:\Users\test\Downloads\Compressed\NGRP 0.3x\samp-server.exe
[15:12:31] [debug] #1 004925c0 in ?? () from C:\Users\test\Downloads\Compressed\NGRP 0.3x\samp-server.exe
[15:12:31] [debug] #2 00404f44 in ?? () from C:\Users\test\Downloads\Compressed\NGRP 0.3x\samp-server.exe

Reply
#10

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It gets crashed when it uses fread in OnGameModeInit. Would you mind to do one more thing just to be easier to fix it.

Goto pawno directory and create a file called pawn.cfg. Open the file and write inside:
pawn Код:
-d3
Save it and re-compile NGRP_main.pwn

Start your server once again and if it gets crashed, show us the results. It should post the line it was caused at.

Also, you'll need to show us your OnGameModeInit too.

PS: Please, update your server package, includes and plugins. You're using 0.3e and we're on 0.3x
OnGameModeInit

Quote:

public OnGameModeInit() {
new
string[42];

//mysql_debug(1);

AntiDeAMX();
Streamer_TickRate(125);

g_mysql_Init();
djson_GameModeInit();

EnableStuntBonusForAll(0);

SetGameModeText(SERVER_GM_TEXT);

ShowPlayerMarkers(PLAYER_MARKERS_MODE_STREAMED);
DisableInteriorEnterExits();

// Remote Configs
g_mysql_LoadMOTD();
g_mysql_AccountOnlineReset();
LoadHouses();
LoadDynamicDoors();
LoadDynamicMapIcons();
//LoadFactions();

// Local Configs
InitTurfWars();
LoadTurfWars();
InitPaintballArenas();
LoadPaintballArenas();
InitEventPoints();
LoadEventPoints();
LoadGates();
LoadElevatorStuff();
LoadThePay();
LoadFamilies();
LoadPoints();
LoadcDealerships();
Misc_Load();

ResetElevatorQueue();
Elevator_Initialize();

if(Jackpot < 0) Jackpot = 0;
if(TaxValue < 0) TaxValue = 0;
for(new f = 0; f < sizeof(FamilyInfo); f++)
{
for(new fv = 0; fv < MAX_GANG_VEHICLES; fv++)
{
FamilyVehicleInfo[f][fv][fvModelId] = 0;
FamilyVehicleInfo[f][fv][fvSpawnx] = 0.0;
FamilyVehicleInfo[f][fv][fvSpawny] = 0.0;
FamilyVehicleInfo[f][fv][fvSpawnz] = 0.0;
FamilyVehicleInfo[f][fv][fvSpawna] = 0.0;
FamilyVehicleInfo[f][fv][fvPaintJob] = -1;
FamilyVehicleInfo[f][fv][fvColor1] = 126;
FamilyVehicleInfo[f][fv][fvColor2] = 126;
FamilyVehicleInfo[f][fv][fvPrice] = 0;
//FamilyVehicleInfo[f][fv][fvSpawned] = 0;
FamilyVehicleInfo[f][fv][fvFuel] = 100.00;
FamilyVehicleInfo[f][fv][fvId] = INVALID_VEHICLE_ID;
}
}

for(new i = 0; i < MAX_VEHICLES; ++i) {
VehicleFuel[i] = 100.0;
}
for(new i = 0; i < sizeof(CreatedCars); ++i) {
CreatedCars[i] = INVALID_VEHICLE_ID;
}

AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);

LoadFamiliesHQ();
ClearReports();

SetNameTagDrawDistance(40.0);

GiftAllowed = 1;
News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
strcat(News[hAdd1], "Nothing");
strcat(News[hAdd2], "Nothing");
strcat(News[hAdd3], "Nothing");
strcat(News[hAdd4], "Nothing");
strcat(News[hAdd5], "Nothing");
strcat(News[hContact1], "No-one");
strcat(News[hContact2], "No-one");
strcat(News[hContact3], "No-one");
strcat(News[hContact4], "No-one");
strcat(News[hContact5], "No-one");
gettime(ghour, gminute, gsecond);
FixHour(ghour);
ghour = shifthour;

AllowInteriorWeapons(1);
UsePlayerPedAnims();

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)