Raised This Month: $ Target: $400
 0% 

Damage event not being found?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GanJa
Member
Join Date: Mar 2004
Location: Salem, OR
Old 07-01-2004 , 05:46   Damage event not being found?
Reply With Quote #1

Code:
L 07/01/2004 - 03:33:20: [AMXX] Invalid event (name "Damage") (plugin "stats.amx
")
L 07/01/2004 - 03:33:20: [AMXX] Run time error 10 on line 11 (plugin "stats.amx"
)
This came up when I attempted to link a function to the "Damage" event in DOD.
Does this have a diff name or something?
On another Q is it possible to use register_event for the event numbers instead of the name?
GanJa is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 07-01-2004 , 06:02  
Reply With Quote #2

1)there is no damage event in dod or similar
2)no, you can't
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
GanJa
Member
Join Date: Mar 2004
Location: Salem, OR
Old 07-01-2004 , 06:04  
Reply With Quote #3

So what would you call for dod to tell when someone recieves damage then?
GanJa is offline
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 07-01-2004 , 10:14  
Reply With Quote #4

Use my message logger a few posts down. Shoot someone and see what messages get sent.
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
GanJa
Member
Join Date: Mar 2004
Location: Salem, OR
Old 07-01-2004 , 10:59  
Reply With Quote #5

Quote:
Originally Posted by SidLuke
2)no, you can't
Code:
register_event("30","changeMap","a")
seems like you can....
GanJa is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 07-01-2004 , 14:03  
Reply With Quote #6

Quote:
Originally Posted by GanJa
Quote:
Originally Posted by SidLuke
2)no, you can't
Code:
register_event("30","changeMap","a")
seems like you can....
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
GanJa
Member
Join Date: Mar 2004
Location: Salem, OR
Old 07-02-2004 , 03:51  
Reply With Quote #7

Well to be blunt I'm trying to tell when someone hits someone else with a wep in dod. I noticed Sidluke did the dodxmodule... so what event where you calling in there?
GanJa is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 07-02-2004 , 11:56  
Reply With Quote #8

client_damage(attacker,victim,weapon,damage,h itplace,TA) forward function
But ...
You must wait for dodx_amxx module
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
GanJa
Member
Join Date: Mar 2004
Location: Salem, OR
Old 07-04-2004 , 11:24  
Reply With Quote #9

Actually I found an event that happens when a player recieves damage and you can use it almost as the DAMAGE event. but thx for the help guys... And cheesy your plugin is nice but I eventually just ended up going through "meta game" and testing ones that looked like they might work =)
GanJa is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 07-04-2004 , 13:50  
Reply With Quote #10

Quote:
Originally Posted by GanJa
Actually I found an event that happens when a player recieves damage and you can use it almost as the DAMAGE event.
and its name is ?
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
Reply


Thread Tools
Display Modes

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 14:36.


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