here you go:
PHP Code:
#include <amxmodx>
public client_putinserver(id)
{
set_task(5.0,"Show_message_in_every_5_sec",id,_,_,"b");
}
/* Calls function on specified time.
* Flags:
* "a" - repeat.
* "b" - loop task.
* "c" - do task on time after a map timeleft.
* "d" - do task on time before a map timelimit.
native set_task(Float:time,const function[],id = 0,const parameter[]="",len = 0,const flags[]="", repeat = 0);
*/
public Show_message_in_every_5_sec(id)
{
client_print(id,print_chat,"Welcome to the alliedmodders")
}
__________________
Thanks everyone. #miss_you_all