Raised This Month: $ Target: $400
 0% 

Function istriggered is not configured in hamdata.ini.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr.G
Senior Member
Join Date: Nov 2008
Old 02-11-2009 , 07:13   Function istriggered is not configured in hamdata.ini.
Reply With Quote #1

I tryed to catch a flag cap with Ham using Ham_IsTriggered, but it gives me this error:

PHP Code:
/* Error quote:
[AMXX] Plugin ("Ham_IsTriggered.amxx") is setting itself as failed.
[AMXX] Plugin says: Function istriggered is not configured in hamdata.ini.
[AMXX] Displaying debug trace (plugin "Ham_IsTriggered.amxx")
[AMXX] Run time error 1: forced exit 
[AMXX]    [0] hamsandwich.inc::__fatal_ham_error (line 376)
*/ 
any of you who knows if Ham_IsTriggered would work on dod? Or is that the simple reason why its not configured in hamdata.ini ? or maybe forgotten? I can see its configured to cstrike, tfc, ns, ts, efs, esf_openbeta and valve, linux and windows. In ini
Quote:
Version: $Id: hamdata.ini 3687 2008-03-04 18:515Z sawce $
Or are there any other way i can catch a flag cap? My test goes like this:

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN "flag test"
#define VERSION "1.0"
#define AUTHOR "Dr.G"
 
 
/* Console quote:
Team "Axis" triggered a "dod_capture_area" - "POINT_AVALANCHE_MARKET"
"Played @ *=GO=*'s today!GG!<370><STEAM_0:1:21700583><Axis>" triggered a "dod_capture_area" - "POINT_AVALANCHE_MARKET" */
 
public plugin_init() 
{
 
register_plugin(PLUGINVERSIONAUTHOR)
 
 
RegisterHam(Ham_IsTriggered"dod_capture_area""Flag_Cap",1)
 
 
/* ExecuteHam(Ham_IsTriggered, this, idActivator); */
}
public 
Flag_Cap(id)
{
 new 
name[33]
 
get_user_name(id,name,32)
 
 if(
is_user_connected(id))
 {
  
client_print(id,print_center,"%s you capped a flag")
 }
 return 
HAM_IGNORED

Thanks in advance!
__________________
Dr.G 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 16:56.


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