[Tutorial] Yet Another Plugin Boilerplate - 2018 edition! (CMake/Docker/y_testing/sampctl)
#4

Quote:
Originally Posted by Y_Less
Посмотреть сообщение
One thing mentioned in Kyosaur's tutorial was that he couldn't find a way to remove the requirement of having a .def file for Windows (AFAIK you don't need it for Linux, but I don't know that for certain). If it is only Windows, it isn't required:

https://github.com/Y-Less/plugin-nat....hpp#L168-L184

https://github.com/Y-Less/plugin-nat...eFunc.hpp#L466
Does the same go for the AMX events such as Load, Unload, ProcessTick, etc?

For as long as I can remember I've always had to add this in order to make those function calls fire:

EXPORTS
Supports
Load
Unload
AmxLoad
AmxUnload
ProcessTick

Does plugin-natives handle this internally or do I have to decl these in the source?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)