13.06.2017, 03:15
PHP Code:
Streamer_Update(playerid);
CarData[realid][carPlaceObject][cslotid] = CreateDynamicObject(GetGunObjectID(gunid), Pos[0], Pos[1], Pos[2], 0.0, 0.0, 0.0, World);
AttachDynamicObjectToVehicle(CarData[realid][carPlaceObject][cslotid], mycar, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
EditDynamicObject(playerid, CarData[realid][carPlaceObject][cslotid]);
Don't know why this crashes the server.
Server log:
PHP Code:
[23:01:53] [debug] Server crashed due to an unknown error
[23:01:53] [debug] Native backtrace:
[23:01:53] [debug] #0 e105d180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[23:01:53] [debug] #1 e1055064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[23:01:53] [debug] #2 e1055d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[23:01:53] [debug] #3 e1057cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[23:01:53] [debug] #4 e105c4d5 in ?? () from plugins/crashdetect.so
[23:01:53] [debug] #5 e13b3410 in __kernel_rt_sigreturn () from linux-gate.so.1
[23:01:53] [debug] #6 e0fca0ce in _ZN4Grid31processDiscoveredCellsForPlayerER6PlayerRSt6vectorIN5boost13intrusive_ptrI4CellEESaIS6_EERKNS3_9unordered13unordered_setISt4pairIiiENS3_4hashISD_EESt8equal_toISD_ESaISD_EEE () from plugins/streamer.so
[23:01:53] [debug] #7 e0fcc187 in _ZN4Grid21findAllCellsForPlayerER6PlayerRSt6vectorIN5boost13intrusive_ptrI4CellEESaIS6_EE () from plugins/streamer.so
[23:01:53] [debug] #8 e1019333 in _ZN8Streamer19performPlayerUpdateER6Playerb () from plugins/streamer.so
[23:01:53] [debug] #9 e101a277 in _ZN8Streamer20startAutomaticUpdateEv () from plugins/streamer.so