Quote:
Originally Posted by --kml--
and can you put about public?
you have explained about new
but public can u explain it also
|
A function in your plugin can be called from inside your plugin or from an external source. As an example, plugin_init , plugin_precache ... are called from amxmodx when your plugin starts. Since they are called not from your plugin but from an external source they need to be public. The same happens for functions associated to console/server commands, for tasks, for menu handlers, and for functions in another plugins.
__________________