Raised This Month: $ Target: $400
 0% 

[SOLVED] set_task in client_authorized


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode