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=51312)

NoobInAmxx 02-15-2007 15:52

hud message
 
How can i set hud message wich wont dissapear? (always on)

[ --<-@ ] Black Rose 02-15-2007 16:31

Re: hud message
 
loop it.

NoobInAmxx 02-15-2007 17:27

Re: hud message
 
Quote:

Originally Posted by [ --<-@ ] Black Rose (Post 440766)
loop it.

How to loop? :

[ --<-@ ] Black Rose 02-16-2007 02:32

Re: hud message
 
Code:
set_task(1.0, "display_hud", id, "", 0, "b") public display_hud(id) {     set_hudmessage(...)     show_hudmessage(...) }

FryWalker 02-16-2007 09:04

Re: hud message
 
Quote:

Originally Posted by [ --<-@ ] Black Rose (Post 441011)
Code:
set_task(1.0, "display_hud", id)</p><p>&nbsp;</p><p>public display_hud(id) {</p><p> set_hudmessage(...)</p><p> show_hudmessage(...)</p><p>}

Shouldn't that be?

Code:


set_task(1.0, "display_hud", id, "", 0, "b");

I thought the "b" flag tells it to loop indefinitely(?)

-Fry

[ --<-@ ] Black Rose 02-16-2007 09:15

Re: hud message
 
Yeah

Davidos 02-16-2007 18:08

Re: hud message
 
So how do you make hudmessages that stick to a certain health?

like count 1 ... 25
show_hudmessage(players, "Caution")

but that doesn't work...


All times are GMT -4. The time now is 00:35.

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