I answer to your PM here. I think it's not really private and other could benifit from it.
Quote:
Originally Posted by stephen473
hi shanapu.I look your mystock.inc.But i don't know how use stocks
|
You can just copy/paste the stock functions to your plugins code.
Or you can also include the mystock.inc to your plugin. To do that just insert
PHP Code:
#include <mystocks>
to your plugins header. Ant put the .inc file in your scripting/include
To use the function this stocks e.g.
PHP Code:
SetCvar("mp_friendlyfire", 1);
__________________