04.05.2014, 08:40
Trying to make the creation of TextDraw but the server crash
Result:
Code:
logprintf("Creating textdraw... %.1f, %.1f, %s", tdPosX, tdPosY, tdString); g_Invoke->callNative(&PAWN::TextDrawCreate, params[1],params[2],params[2]); logprintf("Creating textdraw... %.1f, %.1f, %s", tdPosX, tdPosY, tdString);
Code:
Console input: loadfs ap 10:40:33 Creating textdraw... 120.0, 12.0, Testuje xD 10:40:33 [debug] Server crashed while executing ap.amx 10:40:33 [debug] AMX backtrace: 10:40:33 [debug] #0 native StworzCreate () [0f2116e5] from TDAPI.DLL 10:40:33 [debug] #1 0000004c in public OnFilterScriptInit () at ap.pwn:9 10:40:33 [debug] System backtrace: 10:40:33 [debug] #0 0f213e15 in Invoke::callNative () from D:\GTA\serwertest\plugins\TDAPI.DLL 10:40:33 [debug] #1 0f211f88 in DrawCreate () from D:\GTA\serwertest\plugins\TDAPI.DLL 10:40:33 [debug] #2 004010b6 in ?? () from D:\GTA\serwertest\samp-server.exe 10:40:33 [debug] #3 0f4c39e2 in ?? () from D:\GTA\serwertest\plugins\crashdetect.DLL 10:40:33 [debug] #4 0f4c5e26 in ?? () from D:\GTA\serwertest\plugins\crashdetect.DLL 10:40:33 [debug] #5 0f4bbf3f in ?? () from D:\GTA\serwertest\plugins\crashdetect.DLL 10:40:33 [debug] #6 0f4c3a0e in ?? () from D:\GTA\serwertest\plugins\crashdetect.DLL 10:40:33 [debug] #7 0046a258 in ?? () from D:\GTA\serwertest\samp-server.exe 10:40:33 [debug] #8 759a1719 in ?? () from C:\Windows\syswow64\MSCTF.dll 10:40:33 [debug] #9 00496f39 in ?? () from D:\GTA\serwertest\samp-server.exe 10:40:33 [debug] #10 0048545e in ?? () from D:\GTA\serwertest\samp-server.exe 10:40:33 [debug] #11 00487653 in ?? () from D:\GTA\serwertest\samp-server.exe 10:40:33 [debug] #12 0231fd8c in ?? ()