Page 1 of 1

access wc3 functions from another plugin ?

Posted: Sun Jun 11, 2006 4:58 pm
by erik2k3
Hi,

Iwas wondering, is it possible to write an extra amxx plugin and use in that plugin some wc3ft functions ?

what i am trying to do, is to create a plugin that simply checks the race and level of a user and according to that one adds a few goodies to the specific user...

if I am writing the plugin and want it to access things like RACE_ELF or LEVEL, well.... cant find it :-)

So my question is :

how can i "attach" / "include" a plugin to wc3ft ? does it work with
#include <warcraft3FT> ???

Posted: Sun Jun 11, 2006 5:36 pm
by Avanderik
Those variables are private to the actual plugin. The easiest way would be just to edit the plugin itself. #include <warcraft3FT> would include a include file in the includes folder if it existed, but one does not exist that is made from the authors.