01.06.2009, 01:55
There are load of infos about public and stock prefixes in the Pawn manual and private isn't used in Pawn.
For SA:MP, a public function should only be a function that is called by a timer of by CallRemoteFunction. If this isn't the case, don't make it public.
The stock prefix is useful for include files with functions that may not be used in the main script. Compiler doesn't include the stock functions if they are not used anywhere in the script.
For SA:MP, a public function should only be a function that is called by a timer of by CallRemoteFunction. If this isn't the case, don't make it public.
The stock prefix is useful for include files with functions that may not be used in the main script. Compiler doesn't include the stock functions if they are not used anywhere in the script.