Raised This Month: $ Target: $400
 0% 

HUD Message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-26-2012 , 13:32   HUD Message
Reply With Quote #1

How to put infinity hud message...??
__________________
Artifact is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 04-26-2012 , 13:54   Re: HUD Message
Reply With Quote #2

With an infinite task or thinking entity.
__________________
<VeCo> is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-26-2012 , 13:55   Re: HUD Message
Reply With Quote #3

Wow, realy??? But how to catch infinite task?
__________________
Artifact is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 04-26-2012 , 13:57   Re: HUD Message
Reply With Quote #4

Add in plugin_init:

PHP Code:
set_task(1.0,"function_name",.flags "b"
And then that's your function:

PHP Code:
public function_name() // you can name it whatever you want (change the name in both places)
{
//your code here...

__________________

Last edited by <VeCo>; 04-26-2012 at 13:57.
<VeCo> is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-26-2012 , 17:21   Re: HUD Message
Reply With Quote #5

Thanks ;)
__________________
Artifact 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 07:53.


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