V
Valiant
Banned
Hello to all, I was looking through the dvar list and the dev dvars i found a dvar that can unlock all challenges. You will have to enable developer and developer script also. well here it is
to even use this you will require these other dvars set to the value of "1"
and
this will not work this is just a start of this dvar. i have managed to succesfully work this dvar to the point that it works and calls the dvar to all clients in the game. i might release later. just handing this out for you guys to work on it.
HINT: Also, not only that but developer and developerscript would have to be set for all clients in order for it to look for the dvar on the client side.
thanks
Code:
if ( getdvarfloat("scr_complete_all_challenges") != 0 )
{
foreach ( player in level.players )
{
player thread maps\mp\gametypes\_missions::completeAllChallenges( getdvarfloat("scr_complete_all_challenges") );
}
setDevDvar( "scr_complete_all_challenges", "" );
}
to even use this you will require these other dvars set to the value of "1"
Code:
self setClientDvar( "developer", "1" );
and
Code:
self setClientDvar( "developer_script", "1" );
this will not work this is just a start of this dvar. i have managed to succesfully work this dvar to the point that it works and calls the dvar to all clients in the game. i might release later. just handing this out for you guys to work on it.
HINT: Also, not only that but developer and developerscript would have to be set for all clients in order for it to look for the dvar on the client side.
thanks