View Single Post
ZBzibing
Senior Member
Join Date: Dec 2012
Old 04-30-2022 , 08:50   Re: [L4D] How to force mission lost
Reply With Quote #34

Quote:
Originally Posted by Silvers View Post
Strip cheat flags (if there are any) and execute "endround" command (then re-apply cheat flags)?
HTML Code:
int oldFlags = GetCommandFlags("endround");
	SetCommandFlags("endround", oldFlags & ~(FCVAR_CHEAT));
	ServerCommand("endround");
	//ServerExecute("endround");
	SetCommandFlags("endround", oldFlags);
Tried it, it doesn't seem to work
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline