Raised This Month: $ Target: $400
 0% 

Round Help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FoX Rider
Member
Join Date: Feb 2005
Location: AK
Old 03-01-2005 , 21:54   Round Help.
Reply With Quote #1

How would you set a function to do something every round until you say otherwise??

FoX
__________________
Ride for fox..Die for fox.
FoX Rider is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-01-2005 , 22:10  
Reply With Quote #2

Catch the Round event, and then check to see if you want to do anything, and do it if you do.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-01-2005 , 22:28  
Reply With Quote #3

I know the next post!!

"How do I do that?"

Put this in your plugin_init():
Code:
register_logevent("new_round",2,"1=Round_Start")

Then make a function called new_round or whatever .
__________________
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
FoX Rider
Member
Join Date: Feb 2005
Location: AK
Old 03-02-2005 , 00:10  
Reply With Quote #4

You know me to well v3x.
__________________
Ride for fox..Die for fox.
FoX Rider is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-02-2005 , 09:40  
Reply With Quote #5

it's "new_round"? I see...
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-02-2005 , 13:12   no
Reply With Quote #6

Its not new round, that whatever name of the function you want. Its the part 1=Round_Start.
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-02-2005 , 13:40  
Reply With Quote #7

Quote:
Originally Posted by v3x
Then make a function called new_round or whatever .
Quote:
Originally Posted by Twilight Suzuka
it's "new_round"? I see...
Quote:
Originally Posted by knekter
Its not new round, that whatever name of the function you want. Its the part 1=Round_Start.
Heh..
__________________
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
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-02-2005 , 20:33  
Reply With Quote #8

Log messages are so slow...register_event works so much better.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
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 14:06.


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