Raised This Month: $ Target: $400
 0% 

Restarted scripting,some problems :S


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
c0rdawg
Senior Member
Join Date: Jan 2006
Old 02-28-2006 , 15:45  
Reply With Quote #5

Code:
public advertising(id) { new ping[33] new curtime[33] get_user_ping(id,ping,32) get_user_time(id,curtime,32) if(is_user_alive(id)) if(is_user_connected(id)) { client_print(id, print_chat, "Your ping is: %s , And the time: %s",ping,curtime) } }

should be more like that...

and get_user_time gives you how long the user has been playing in the server...

also this never is called, you probably want a set_task or something
c0rdawg is offline
Send a message via AIM to c0rdawg Send a message via MSN to c0rdawg
 



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 20:23.


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