Im trying to make code for __INFO_DROP cause i leech __INFO_DROP in dragoncross but i got problem with appearance when i try to press F12 theres no applet appears now im trying to make in game command with __INFO_DROP and i got this error:
btw this is my entries:
FuncApplet.cpp
FuncTextCmd.cpp
help please thanks! :handsdown:
btw this is my entries:
FuncApplet.cpp
Code:
#ifdef __INFO_DROP #include "WndDropInfo.h" #endif //INFO_DROP #ifdef __INFO_DROP DECLAREAPPLET( AppMain_DropInformation, new CWndDropInformation ); #endif #ifdef __INFO_DROP AddAppletFunc( AppMain_DropInformation, APP_DROPINFO, "WndDropInformation", "Icon_Applet.dds", "drop", 0, "info", AUTH_GENERAL ); #endif
Code:
#ifdef __INFO_DROP
BOOL TextCmd_DropInformation( CScanner & scanner )
{
#ifdef __CLIENT
if( !g_WndMng.GetApplet(APP_DROPINFO) )
g_WndMng.CreateApplet(APP_DROPINFO);
#endif
return TRUE;
}
#endif
#ifdef __INFO_DROP
ON_TEXTCMDFUNC( TextCmd_DropInformation, "drop", "info", "", "", TCM_CLIENT, AUTH_GENERAL, "" )
#endif