Raised This Month: $ Target: $400
 0% 

Hook for dead player spectate


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-12-2010 , 13:02   Re: Hook for dead player spectate
Reply With Quote #1

Don't use register_message when you only need the event, use register_event.
If you really need register_message (assuming you need to alter a param or block the message when some conditions matches), then don't name your callback "event_XXX" but rather "message_XXX"


Quote:
Originally Posted by xPaw View Post
Different way would be setting mp_fadetoblack 1 and blocking screenfade message being sent to players you dont need
Fade starts right when you die.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-12-2010 , 13:14   Re: Hook for dead player spectate
Reply With Quote #2

Quote:
Originally Posted by ConnorMcLeod View Post
Fade starts right when you die.
This is why i said him to hook the message and block for players who doesnt need it
__________________
xPaw is offline
Reply



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 03:47.


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