You are viewing our Forum Archives. To view or take place in current topics click here.
DVars not working...
Posted:

DVars not working...Posted:

rvbfreak
  • New Member
Status: Offline
Joined: May 30, 201014Year Member
Posts: 35
Reputation Power: 1
Status: Offline
Joined: May 30, 201014Year Member
Posts: 35
Reputation Power: 1
I was attempting to mod CoD4's singleplayer by editing the common.ff
i used
(in maps/_art.gsc)

main()
{
doDvar();
//rest of code from art.gsc


then at the bottom of art.gsc:


doDvar()
{
self setDvar("jump_height", 999);
self setDvar("player_sustainAmmo", 1);
}

but they don't execute unless i type them into the console. Whats going on?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.