[Tutorial] Installing & Setting up SAMPGDK
#3

Why create a variable when you can directly return the "Load(ppData)".

Код:
PLUGIN_EXPORT bool PLUGIN_CALL Load(void **ppData) 
{
	pAMXFunctions = ppData[PLUGIN_DATA_AMX_EXPORTS];
	sampgdk::logprintf("\n\n* [Your Plugin Name] %s by %s Loaded",PLUGIN_VERSION,PLUGIN_AUTHOR);	
	return sampgdk::Load(ppData);
}
Reply


Messages In This Thread
Installing & Setting up SAMPGDK - by Yashas - 12.05.2015, 18:58
Re: Installing & Setting up SAMPGDK - by RaeF - 12.05.2015, 22:04
Re: Installing & Setting up SAMPGDK - by vermaritt - 13.05.2015, 02:22
Re: Installing & Setting up SAMPGDK - by Yashas - 13.05.2015, 04:41
Re: Installing & Setting up SAMPGDK - by Sithis - 21.05.2015, 08:25
Re: Installing & Setting up SAMPGDK - by FplayerGR - 25.05.2015, 07:02
Re: Installing & Setting up SAMPGDK - by Sasino97 - 16.03.2016, 18:04
Re: Installing & Setting up SAMPGDK - by Yashas - 22.03.2016, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)