View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-30-2024 , 13:49   Re: [L4D1 & L4D2] Votekick - no black screen (Coop & Versus)
Reply With Quote #52

@alliedfront, no need for diff, since I'm using WinMerge or Beyond Compare to do that.

Also, I don't agree with you in 2 things:
1) I'm not native English speaker, but I don't think adding "is" is appropriate here:
Code:
"{green}%N {orange}is started vote for kick: {cyan}%s\n"
verb is not "-ing" and also subject (%N) directly execute the action ("start"), so "is" isn't required here AFAIK.

2) Why do you think
Code:
bool IsVoteAllowed(int client, int target)
{
	if( target <= 0 )
		return false;
this check isn't appropriate to do at the very begin of the routine?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline