View Single Post
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 10-28-2009 , 00:27   Re: Variable Friendly Fire
Reply With Quote #10

Also removeing fm from the includes didn't notice it up there.


Quote:
Originally Posted by Jon View Post
I think that's misleading. It makes it sound like the plugin can detect accidental team kills and seperate them from other team kills.

A toggle cvar isn't really needed and you should check the value of mp_friendlyfire.
[/color][/size]

removing g_Switch

and then doing something like this?

if(get_cvar_pointer(mp_friendlyfire))
{
//the code here
}

so plugin dosent run while ff is off?
Doc-Holiday is offline