Raised This Month: $ Target: $400
 0% 

DEATHS ZOMG


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-29-2009 , 21:51   Re: DEATHS ZOMG
Reply With Quote #10

A stock is only compiled into your plugin (.amxx) if the function\variable is used. For example, suppose you have 3 stocks in your plugin\include file: get_name(), get_id(), get_health() and in your plugin you only call get_id() out of those 3 (get_name() and get_health() are never used). get_id() is the only function that will be compiled into your amxx file. This will, as said above, improve the memory footprint and reduce the file size of your compiled .amxx file.

The guide:

http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf

Other useful links:

http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS
__________________

Last edited by Bugsy; 05-29-2009 at 21:57.
Bugsy 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 01:36.


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