I just started learning orpheu so I have no ideea why this code give a tag mismatch on the marked line.
Code:
#include <amxmodx>
#include <orpheu>
public plugin_init()
{
new OrpheuFunction:Player_OnTouchingArmoury = OrpheuGetFunction("ArmouryTouch","CArmoury")
OrpheuRegisterHook(Player_OnTouchingArmoury,"OnTouchingArmoury", OrpheuHookPre)
}
public OnTouchingArmoury( id, iArmouryIndex )
{
return OrpheuSupercede
}
Also, I have two more questions:
- iArmouryIndex and id are never the same, even for the same weapon type. Why ?
- What is the difference between a normal and a virtual function ? It doesn't count where I put the signature( in virtual functions or in the functions folder), it's working.
__________________