Raised This Month: $ Target: $400
 0% 

Orpheu tag mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-18-2014 , 08:17   Orpheu tag mismatch
Reply With Quote #1

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.
__________________

Last edited by HamletEagle; 08-18-2014 at 08:27.
HamletEagle is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode