Can I use set_task in client_authorized / putinserver methods? Doesnt work for me
Example: I want to type something on player console 5 sec after client connect to server.
I make:
Code:
public hello(id) {
client_cmd(id,"echo hello")
}
public client_authorized(id) {
set_task(5.0,"hello",id)
}
doesnt work.
When I use
Code:
public hello(id) {
client_cmd(id,"echo hello")
}
public client_authorized(id) {
hello(id)
}
It works (of course without delay what I need).
Can you help me please?
__________________