Quote:
Originally Posted by Havoc
awww source code would help me alot, im really not a scripter :/
Thanks.
|
ya iam sorry i tho i was in Scripting forum -_- iam so stupid
oh well:
PHP Code:
#include <amxmodx>
#define MY_TASK_NUMBER 1434
public plugin_init()
{
register_plugin("TEST", "0.1", "Dekken")
}
public client_putinserver(id)
{
set_task(1.0,"iShowHud",MY_TASK_NUMBER)
}
public iShowHud()
{
set_hudmessage(255, 0, 0, -1.5, -0.1, 0, 6.0, 12.0, 0.1, 0.2, 3)
show_hudmessage(0, "Thats My Message, and i write w/e i want here :D")
set_task(2.0, "iShowHud", MY_TASK_NUMBER)
}
public client_disconnect(id)
{
if(task_exists(MY_TASK_NUMBER))
remove_task(MY_TASK_NUMBER)
}
iam not sure if you need this:
PHP Code:
public client_disconnect(id)
{
if(task_exists(MY_TASK_NUMBER))
remove_task(MY_TASK_NUMBER)
}
but oh well...
should work fine
__________________