Raised This Month: $ Target: $400
 0% 

Need a little help.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 02-21-2005 , 10:16  
Reply With Quote #4

you could use client_putinserver() which is called _after_ client_connect()...

Also, you could use a set_task() to delay the printing of your text a few seconds..

Code:
// -cLuBz- #include <amxmodx> #define TASK_ID 1234 public plugin_init() {    register_plugin("Test","0.00","cLuBz") } public client_putinserver(id) {    new sid[2]    sid[0] = id     // Show text in 3.0 seconds..     set_task( 3.0, "ShowText", TASK_ID, sid, 1 ) } public ShowText( args[] ) {     new id = sid[0]    client_print(id,print_chat,"Test") }
xeroblood is offline
Send a message via MSN to xeroblood
 



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:13.


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