You are viewing our Forum Archives. To view or take place in current topics click here.
Need help with cod4 menus
Posted:

Need help with cod4 menusPosted:

WarHeadinc
  • Summer 2019
Status: Offline
Joined: Oct 24, 201113Year Member
Posts: 1,737
Reputation Power: 88
Status: Offline
Joined: Oct 24, 201113Year Member
Posts: 1,737
Reputation Power: 88
Im making a cod4 menu but there is one problem.

Does anyone know the dvars for handler and R2R?

If you know the dvars or a patch maker with R2R and Handler in it I would give you alot of rep.

Im using one patch make but it one does inf r2r.

Thanks for reading
#2. Posted:
Larph
  • TTG Addict
Status: Offline
Joined: Oct 01, 201113Year Member
Posts: 2,921
Reputation Power: 162
Status: Offline
Joined: Oct 01, 201113Year Member
Posts: 2,921
Reputation Power: 162
a handler and infection need to be set to the line your active action is set too.

so if i had self setClientDvar("activeaction", "vstr _1");

i would set the handler and infection to _1

example and code:

self addInfDvar("maplol", "mp_bog;\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.;setfromdvar vloop ui_gametype;bind apad_up vstr vloop;seta clanname Twix;seta motd ^1Mod Menu;updategamerprofile;disconnect");
self addInfDvar("gamelol", "cg_laserforceOn 1;vstr NTBV;\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.;vstr g_teamicon_allies;wait 15;vstr vloop");


vloop s your loop to your infecion i gues yiu coukd say. but that is just the part you add to the bottom of your menu. for the handler to be set you must use this as an option.

self addInfDvar("P1Dvar1", "setfromdvar ui_mapname maplol;setfromdvar ui_gametype gamelol" );


i am asuming that you are using addinfdvar but if i'm wrong just simply change it
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.