View Single Post
Author Message
James
Senior Member
Join Date: Dec 2004
Old 08-31-2007 , 12:42   [SOLVED] set_task in client_authorized
Reply With Quote #1

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?
__________________
Do good things, and good things happen to you

Last edited by James; 09-01-2007 at 23:44.
James is offline