18.03.2011, 15:55
You would create the function in the include, it is that simple. A big thing about includes is you have to make sure you dont cause the user trouble, so callback hooks, appropriate variable naming, and declaring your functions as "stock" is very important.
If you dont know what stock is, basically its a way to declare things so that if it isnt used, the compiler wont include it. This is ideal for things like includes cause you dont want to give the users warnings regarding one of your functions not being used! You can declare variables as stock as well, for more information check the sa-mp wiki about it.
If you dont know what stock is, basically its a way to declare things so that if it isnt used, the compiler wont include it. This is ideal for things like includes cause you dont want to give the users warnings regarding one of your functions not being used! You can declare variables as stock as well, for more information check the sa-mp wiki about it.