AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HUD Message (https://forums.alliedmods.net/showthread.php?t=183773)

Artifact 04-26-2012 13:32

HUD Message
 
How to put infinity hud message...??

<VeCo> 04-26-2012 13:54

Re: HUD Message
 
With an infinite task or thinking entity.

Artifact 04-26-2012 13:55

Re: HUD Message
 
Wow, realy??? But how to catch infinite task?

<VeCo> 04-26-2012 13:57

Re: HUD Message
 
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...



Artifact 04-26-2012 17:21

Re: HUD Message
 
Thanks ;)


All times are GMT -4. The time now is 07:53.

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