Raised This Month: $ Target: $400
 0% 

ResetHUD event doesn't work on DOD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fishman8
Junior Member
Join Date: Jul 2005
Old 07-01-2006 , 15:27   ResetHUD event doesn't work on DOD
Reply With Quote #1

I wrote

register_event("ResetHUD", "on_ResetHud", "b")

and

public on_ResetHud(id) {
client_print(id,print_center,"test")
}


but it not work on DoD, anyone suggest?
fishman8 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 07-01-2006 , 15:32   Re: ResetHUD event doesn't work on DOD
Reply With Quote #2

works fine on DoD for me... I register it like this...


Code:
register_event("ResetHUD","event_respawn","b")



it will get called when a player spawns.


Code:
public event_respawn(id) {


Also I usually test with a server_print, could try that.
__________________

Last edited by jtp10181; 07-01-2006 at 15:35.
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
diamond-optic
Veteran Member
Join Date: May 2005
Old 07-01-2006 , 18:09   Re: ResetHUD event doesn't work on DOD
Reply With Quote #3

it also always works for me...

and if your just trying to catch spawning, you could always use the new dod_client_spawn forward in the dodx module for 1.75
__________________
diamond-optic is offline
fishman8
Junior Member
Join Date: Jul 2005
Old 07-01-2006 , 23:12   Re: ResetHUD event doesn't work on DOD
Reply With Quote #4

Thank you all, I found the plugin has runtime error, so it will not excute events. :-)
fishman8 is offline
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 08:00.


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