27.05.2015, 19:59
(
Последний раз редактировалось ReDKiiL; 28.05.2015 в 05:00.
)
I'm in trouble, I'm trying to create a test function in my plugin.
When I run my server it crashes and I get this error in the log:
My source:
http://pastebin.com/REwswUUY
I'm using samp gdk amalgamation
Solved! i put
to Load function
When I run my server it crashes and I get this error in the log:
Код:
[00:32:06] [debug] Server crashed due to an unknown error [00:32:06] [debug] Native backtrace: [00:32:06] [debug] #0 0fa72f5a in amx_Register () from plugins\helloworld.DLL [00:32:06] [debug] #1 0fa737e3 in AmxLoad () from plugins\helloworld.DLL [00:32:06] [debug] #2 00469a75 in ?? () from samp-server.exe [00:32:06] [debug] #3 65646f6d in ?? () from samp-server.exe [00:32:06] [debug] #4 61622f73 in ?? () from samp-server.exe [00:32:06] [debug] #5 612e6573 in ?? () from samp-server.exe
http://pastebin.com/REwswUUY
I'm using samp gdk amalgamation
Solved! i put
Код:
pAMXFunctions = ppData[PLUGIN_DATA_AMX_EXPORTS];