this is my scrollmsg. which i use and i have a permanent hud text.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
new effect
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
set_task(3.0, "kirkir1")
//set_task(1.0, "modInfo", 0, "", 0, "b");
// Add your code here...
}
new x,y,z
public kirkir1()
{
x = x + 1
y = y + 5
z = z +5
if( x >= 255)
{
x = 1
}
if(y >= 255)
y= 1
if(z >= 255)
z=1
kirkir()
}
public effecting()
{
set_task(5.0,"the_effects")
}
public the_effects()
{
effect++
if(effect<=1)
{
effect = 1
}
else if (effect >= 2)
{
effect = 2
}
}
public kirkir()
{
set_hudmessage(x,y,z, 1.0, 0.20, effect, 0.02, 10.0, 0.01, 0.1, -1);
show_hudmessage(0, "W^nW^nW^n.^nH^nA^nR^nD^nS^nT^nY^nL^nE^n-^nE^nS^nP^nO^nR^nT^nS^n.^nD^nE")
set_task(3.0, "kirkir1")
}
http://forums.alliedmods.net/showpos...2&postcount=38
__________________