Raised This Month: $ Target: $400
 0% 

Will this show everyone?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 01-02-2006 , 22:33   Will this show everyone?
Reply With Quote #1

I guess ill post it here since i cant test with only one person.

Code:
register_concmd("showbook", "book") } public book(id) {     new location[]="book.txt"     show_motd(id,location,"Black Book")     return PLUGIN_HANDLED }

Will this show everyone book.txt on the server? Or will it only show the person who does the command?
Drak is offline
Send a message via MSN to Drak
SubFive
Senior Member
Join Date: Dec 2005
Location: USA
Old 01-02-2006 , 22:36  
Reply With Quote #2

Until someone uses the command nothing will happen.
SubFive is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 01-02-2006 , 22:37  
Reply With Quote #3

Thank you
Drak is offline
Send a message via MSN to Drak
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 01-02-2006 , 22:37  
Reply With Quote #4

To show it to everyone:
Code:
show_motd(0,location,"Black Book")

Note: You don't need 'id' in the function header for this.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Reply



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 16:10.


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