View Single Post
Author Message
leaffan
Senior Member
Join Date: Jan 2013
Old 08-29-2019 , 02:03   [L4D2] Versus Mod can 100 per round
Reply With Quote #1

I'm sorry for my bad english!

I've consulted a friend of mine before, but the problem is that I have no idea how to use this code.

Quote:
Originally Posted by leaffan
Hello. I apologize for my bad English (Google Translate!)

In Left 4 Dead 2 Versus Mode, every round is healed fulleniyor 100. I want him to get 100 health fulls at the beginning of every round I want to do in the Scenario. How can I do? cvar etc. Is there?
Quote:
In round_start:
new iFlags = GetCommandFlags(sCommand);
SetCommandFlags(sCommand, iFlags & ~FCVAR_CHEAT);
FakeClientCommand(client, "give health");
SetCommandFlags(sCommand, iFlags);
I asked this question and he told me this code, how can I use it? Or do you have different opinions about this issue?

Thanks.

Last edited by leaffan; 08-30-2019 at 11:34.
leaffan is offline