Oooops.. my bad.. I should've tried compiling it first...
Code:
#include <amxmodx>
#define TASK_ID 1234
public plugin_init()
{
register_plugin("Test","0.00","cLuBz")
}
public client_putinserver(id)
{
new sid[2]
sid[0] = id
// Show text in 3.0 seconds..
set_task(3.0,"ShowText",TASK_ID,sid,1)
return PLUGIN_CONTINUE
}
public ShowText(args[])
{
new id = args[0]
client_print(id,print_chat,"Test")
}
If you get loose indentation warnings it is okay, not that important, but if you don't want the warnings and cant find the problem in your code, then just put this at the top of your code:
#pragma tabsize 0
Hope that helps..