problems with adding callbacks
#8

Quote:
Originally Posted by Kikito
Посмотреть сообщение
You're not starting the sampgdk.

Basically, you're missing this:
PHP код:
PLUGIN_EXPORT bool PLUGIN_CALL Load(void **ppData) {
    return 
sampgdk::Load(ppData);
}
PLUGIN_EXPORT void PLUGIN_CALL Unload() {
    
sampgdk::Unload();
}
PLUGIN_EXPORT unsigned int PLUGIN_CALL Supports() {
    return 
sampgdk::Supports() | SUPPORTS_PROCESS_TICK;
}
PLUGIN_EXPORT void PLUGIN_CALL ProcessTick() {
    
sampgdk::ProcessTick();

Next time, read the sampgdk thread(the plugin code).
Ох, спасибо! Все работает.
Reply


Messages In This Thread
problems with adding callbacks - by VaReNiX - 20.07.2014, 17:28
Re: problems with adding callbacks - by GWMPT - 21.07.2014, 10:38
Re: problems with adding callbacks - by VaReNiX - 21.07.2014, 11:26
Re: problems with adding callbacks - by xeeZ - 21.07.2014, 12:45
Re: problems with adding callbacks - by VaReNiX - 21.07.2014, 13:01
Re: problems with adding callbacks - by VaReNiX - 21.07.2014, 13:06
Re: problems with adding callbacks - by GWMPT - 21.07.2014, 13:06
Re: problems with adding callbacks - by VaReNiX - 21.07.2014, 13:30
Re: problems with adding callbacks - by GWMPT - 21.07.2014, 13:36
Re: problems with adding callbacks - by xeeZ - 21.07.2014, 13:37
Re: problems with adding callbacks - by VaReNiX - 21.07.2014, 14:21
Re: problems with adding callbacks - by VaReNiX - 21.07.2014, 14:26

Forum Jump:


Users browsing this thread: 2 Guest(s)