Raised This Month: $ Target: $400
 0% 

Q: RoundTime


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mugwump
Senior Member
Join Date: May 2004
Old 05-13-2004 , 16:17   Q: RoundTime
Reply With Quote #1

I am working on a CS mod and trying to use this event to do some data gathering and processing. One of the variables I increment is a global round_count for keeping track of the number of rounds that has elapsed . So after dumping the data I notice this event must be getting triggered quite a bit more than just once at the beginning of a round (at least 3x-4x more), which is the way I mistakenly understood it to work using this register_event example I found from the skunkage :

register_event("RoundTime", "new_round", "bc")

I am still a newbie at scripting with AMXX so am wondering if that register_event call can be tweaked to only be called at the round start? If not, is using the TeamScore event a better way to do end of round record-keeping?

Mugwump
Mugwump is offline
 


Thread Tools
Display Modes

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 01:55.


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