Raised This Month: $ Target: $400
 0% 

Help with set_task()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dygear
SourceMod Donor
Join Date: Apr 2004
Location: Levittown, NY
Old 07-06-2004 , 14:56   Help with set_task()
Reply With Quote #1

I cant use wait so what do i use?
I was told set_task would do the job, but i dont know how to use that ...
Ideally this should work out so it show red(for 1 sec), white(for 1 sec), and blue(for 1 sec) then the hole thing disapears.
(Yes i do know this will be on top of each other.)

Code:
public client_connect(id) {     new dyAuthID[32], dyUserIP[32], dyUserName[32]     get_user_authid(id, dyAuthID, 31)     get_user_ip(id, dyUserIP, 31, 1)     get_user_name(id, dyUserName, 31)     if(get_user_flags(id)&ADMIN_ADMIN){         server_cmd("tsay 255000000 [ADMIN]%s has joined the server;wait;wait;wait;wait", dyUserName)         server_cmd("tsay 255255255 [ADMIN]%s has joined the server;wait;wait;wait;wait", dyUserName)         server_cmd("tsay 000000255 [ADMIN]%s has joined the server;wait;wait;wait;wait", dyUserName)     }else{         server_cmd("tsay 255255000 %s has joined the server", dyUserName)     } }
__________________
Dygear is offline
Send a message via AIM to Dygear Send a message via MSN to Dygear Send a message via Skype™ to Dygear
 



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 14:52.


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