Raised This Month: $ Target: $400
 0% 

Little help:


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
|2eM!x
Member
Join Date: Mar 2005
Old 03-20-2005 , 17:50   Little help:
Reply With Quote #1

Since i cant find much resources on this, i decided to do it on my own. Forgive me if ive done something stupid or "forbidden" or whatever.

Ive combined a hello world, with a hp thing that two different people showed me.

Code:
#include <amxmod> #include <amxmisc> public saytime(id,level,cid) { if (!cmd_access(id,level,cid,1)) {  return PLUGIN_HANDLED } client_print(id,print_chat THETIME return PLUGIN_HANDLED } public plugin_init() { register_plugin("Saytime","0.1","jghg") register_clcmd("say /thetime","saytime") // prints the time!!! to everyone }

What i want to know, is how to do this: client_print(id,print_chat THETIME
like, get the time of the server, and also, how to do rather than one client, send to all clients...thanks guys

|2eM!x 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 14:12.


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