Raised This Month: $51 Target: $400
 12% 

Execute Functions when Round has Started/Ended in NS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Silencer123
Veteran Member
Join Date: Jul 2006
Old 08-16-2006 , 16:39   Execute Functions when Round has Started/Ended in NS
Reply With Quote #1

Someone please tell me how to...
Execute Functions when Round has Started/Ended in Natural Selection.
Something like:
register_event("MyRoundEndFunction","NS_Round _End")
and
register_event("MyRoundStartFunction","NS_Rou nd_Start")
would help alot.
Thanks in Advance.
Too bad I can't give Karma in Advance.
:p
__________________
EAT YOUR VEGGIES
Silencer123 is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-16-2006 , 17:11   Re: Execute Functions when Round has Started/Ended in NS
Reply With Quote #2

Wont these work?

http://forums.alliedmods.net/showthread.php?t=42159
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Silencer123
Veteran Member
Join Date: Jul 2006
Old 08-17-2006 , 10:46   Re: Execute Functions when Round has Started/Ended in NS
Reply With Quote #3

Nope. They do not work. Not in NS.
__________________
EAT YOUR VEGGIES
Silencer123 is offline
Silencer123
Veteran Member
Join Date: Jul 2006
Old 08-18-2006 , 16:18   Re: Execute Functions when Round has Started/Ended in NS
Reply With Quote #4

I know that there is a way!
Tell me, anyone!
__________________
EAT YOUR VEGGIES
Silencer123 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 08-23-2006 , 03:48   Re: Execute Functions when Round has Started/Ended in NS
Reply With Quote #5

Get the plugins to log an events/logevents and see which event is called on round start/end. http://forums.alliedmods.net/search.php
VEN is offline
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 08-23-2006 , 10:38   Re: Execute Functions when Round has Started/Ended in NS
Reply With Quote #6

here the events:
Code:
public plugin_init( ) {     register_event("GameStatus", "eRoundend", "ab", "1=2" )//Roundend     register_event("Countdown", "eCountdown", "ab")//Roundstart } public eRoundend( ) { //your code here } public eCountdown( ) { //your code here }
List of NS specific Events/Messages:http://homepage.ntlworld.com/pr.searle/nsnet/
__________________

Last edited by schnitzelmaker; 08-23-2006 at 10:41.
schnitzelmaker is offline
Silencer123
Veteran Member
Join Date: Jul 2006
Old 08-23-2006 , 12:21   Re: Execute Functions when Round has Started/Ended in NS
Reply With Quote #7

THANKS!!!

+Karma if I can give it to you again. ;)
__________________
EAT YOUR VEGGIES
Silencer123 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 09:03.


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