How to tell if the round started yet....
Okay, well I finally was able to define all of the movements when you are flying and stuff, BUT there's a lil bug in my code, you can move from your starting position before the round starts!! And now I'm wondering what function or functions can allow you to tell if the round has started or not?
|
I don't think the RoundStart event pertains to that. I'd say use
get_cvar_string("mp_holdtime",output,len) Then disallow it for however long that is.. Or delay it with set_task (Depending on how the code works..) |
Its mp_freezetime (or atleast in cstrike it is)
|
register a log message ("RoundStart")
|
Code:
|
Hmm I just came back from inspecting the apt. and all and thanks guys. I feel that I might need to know more log messages later on in the future. So can anyone give me all the log messages you can POSSIBLY use? Cause if I just looked in the amxmodx reference I would have never figured this out. Thank you for reading this.
EDIT: One question if I put read_logdata() function inside the plugin_log() function, would I get like all the possible log messages I could use? SECOND EDIT: Okay I found out and yes, I get bunch of helpful log messages =D, for which I can register log events. |
| All times are GMT -4. The time now is 14:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.