Some plugins use this method for displaying permanent messages:
Set the channel to -1, this will automatically choose any available channel.
Use set_task with "b" flag to call the HUD message in a loop. This way it will never be removed.
set_task description
Also you seem new to pawn scripting so here's a little code that will give you some idea:
Spoiler
Code:
public client_putinserver(id){set_task(0.9, "HudMsg", id, "", 0, "b")// will call "HudMsg" every 0.9 seconds}public HudMsg(id){set_hudmessage(255, 0, 0, 0.02, 0.2, 0, 1.0, 1.0, 0.0, 0.0)// HUD duration is kept at 1 second in case you need to update the text frequentlyshow_hudmessage(id, "TEXT!")}public client_disconnect(id){remove_task(id);
}
Last edited by connoisseur; 01-16-2014 at 11:55.
Reason: Added code snippet