Raised This Month: $ Target: $400
 0% 

Block Round End


Post New Thread Reply   
 
Thread Tools Display Modes
eryk172
Member
Join Date: Aug 2013
Old 03-07-2019 , 07:45   Re: Block Round End
Reply With Quote #11

@KiLLeR. You solved your problem?

Last edited by eryk172; 03-07-2019 at 07:45.
eryk172 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-07-2019 , 07:51   Re: Block Round End
Reply With Quote #12

Hook RG_RoundEnd and supercede it.
https://github.com/s1lentq/reapi/blo...const.inc#L299
__________________








CrazY. is offline
Mo3taz
Member
Join Date: Apr 2022
Location: Algeria
Old 08-26-2023 , 09:36   Re: Block Round End
Reply With Quote #13

If i supercede it it will block the round end ?
__________________
Save Money (nvault)
DISCORD: Mo3taz#8978
Mz
Mo3taz is offline
Send a message via Yahoo to Mo3taz
Old 10-07-2023, 13:28
Leech_v2
This message has been deleted by Leech_v2.
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 10-07-2023 , 15:26   Re: Block Round End
Reply With Quote #14

In version amxmodx 190, this can prevent the end of the round
Code:
#include <amxmodx>
#include <fakemeta>

enum WinStatus
{
	WS_CT = 1,
	WS_TERRORIST,
	WS_DRAW
};

#define BlockRoundEnd\
	set_gamerules_int("CHalfLifeMultiplay", "m_bFirstConnected", true);\
	set_gamerules_int("CHalfLifeMultiplay", "m_iRoundWinStatus", WS_DRAW)

public plugin_init()
{
	BlockRoundEnd;
	register_logevent("LogEvent_RoundStart", 2, "1=Round_Start");
}
public LogEvent_RoundStart()
{
	BlockRoundEnd;
}
Leech_v2 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 22:25.


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