RoundStart() bug or not?
Little explanation for what happens.
If a player dies on last round the RoundStart() event treats him as dead. Here's my code: PHP Code:
PHP Code:
|
Re: RoundStart() bug or not?
Show what RoundStart really is(register_event).
|
Re: RoundStart() bug or not?
Quote:
PHP Code:
|
Re: RoundStart() bug or not?
Players are not alive at that point. There's no bug. Adding a task somehow works because you are delaying the code, and you are lucky enough that you got respawned before the task was executed.
|
Re: RoundStart() bug or not?
Quote:
You can catch CleanUpMap (there players are already respawned) https://github.com/s1lentq/ReGameDLL...ules.cpp#L2049 by hooking this line https://github.com/s1lentq/ReGameDLL...rules.cpp#L734. But with regamedll this won't work. |
Re: RoundStart() bug or not?
I know how it works. What I was trying to say is that not all players are spawned at the same time(late join).
|
Re: RoundStart() bug or not?
Quote:
PHP Code:
PHP Code:
|
Re: RoundStart() bug or not?
@Airkish this is not round start, but freezetime end.
|
Re: RoundStart() bug or not?
Quote:
New round = freezetime start According to this: https://forums.alliedmods.net/showthread.php?t=42159 |
Re: RoundStart() bug or not?
In my mind there is no NewRound, but there are FreezeTimeStart (which can be named RoundStart or RoundStarting) and FreezeTimeEnd (which can be named RoundStarted). IMO NewRound is bad because new isn't a verb.
Note, in CS:GO there are round_start and round_freeze_end. |
All times are GMT -4. The time now is 02:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.