#include <windows.h>
#include <string>
#include <assert.h>
#include <process.h>
#include "SAMPFUNCS_API.h"
#include "game_api\game_api.h"
stFontInfo *pFont;
bool activ = false;
int i;
SAMPFUNCS *SF = new SAMPFUNCS();
void CALLBACK weat(std::string param)
{
int ShowDialog(12, DIALOG_STYLE_LIST, char *szCaption,
char *szInfo, char *szButton1, char *szButton2);
};
void CALLBACK mainloop()
{
SF->getSAMP()->registerChatCommand("dialog", weat);
}
BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReasonForCall, LPVOID lpReserved)
{
switch (dwReasonForCall)
{
case DLL_PROCESS_ATTACH:
SF->initPlugin(mainloop, hModule);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}