access wc3 functions from another plugin ?

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
erik2k3
Militia
Posts: 73
Joined: Wed Aug 03, 2005 6:34 am
Location: Germany / UK
Contact:

access wc3 functions from another plugin ?

Post by erik2k3 » Sun Jun 11, 2006 4:58 pm

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> ???

User avatar
Avanderik
<b><i>King of Kings!</b></i>
Posts: 150
Joined: Thu Jul 07, 2005 1:51 am
Location: Still Looking

Post by Avanderik » Sun Jun 11, 2006 5:36 pm

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.
War does not determine who is right, war determines who is left...

Order is for idiots, genius masters chaos...
Image

Post Reply