AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Round Help. (https://forums.alliedmods.net/showthread.php?t=10820)

FoX Rider 03-01-2005 21:54

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

FoX

Twilight Suzuka 03-01-2005 22:10

Catch the Round event, and then check to see if you want to do anything, and do it if you do.

v3x 03-01-2005 22:28

I know the next post!!

"How do I do that?" :P

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

Then make a function called new_round or whatever :).

FoX Rider 03-02-2005 00:10

You know me to well v3x.

Twilight Suzuka 03-02-2005 09:40

it's "new_round"? I see...

knekter 03-02-2005 13:12

no
 
Its not new round, that whatever name of the function you want. Its the part 1=Round_Start.

v3x 03-02-2005 13:40

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

Twilight Suzuka 03-02-2005 20:33

Log messages are so slow...register_event works so much better.


All times are GMT -4. The time now is 14:06.

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