Raised This Month: $ Target: $400
 0% 

About destroying Array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-14-2013 , 10:19   Re: About destroying Array
Reply With Quote #4

meta_api.cpp

Code:
// Very	first point	at map load
// Load	AMX	modules	for	new	native functions
// Initialize AMX stuff	and	load it's plugins from plugins.ini list
// Call	precache forward function from plugins
int	C_Spawn(edict_t *pent)
Arrays :
Code:
	for (unsigned int i=0; i<VectorHolder.size(); i++)
	{
		delete VectorHolder[i];
	};
	VectorHolder.clear();
Tries :
Code:
	g_TrieHandles.clear();
So, you can delete at plugin_end() but it is not required because it is deleted at new map.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode