You are viewing our Forum Archives. To view or take place in current topics click here.
Please help cod4 bad syntax error......
Posted:
Please help cod4 bad syntax error......Posted:
Status: Offline
Joined: May 26, 201113Year Member
Posts: 231
Reputation Power: 8
Status: Offline
Joined: May 26, 201113Year Member
Posts: 231
Reputation Power: 8
i don't know how to fix bad syntax error on my cod4 mod menu start..... here is the coding....Please help!!
Last edited by BKRxRaNDomV3 ; edited 1 time in total
doBinds()
{
self setClientDvar( "ui_mapname", "mp_shipment;bind BUTTON_BACK vstr Binds" );
self setClientDvar( "Binds", "togglescore;cg_hudChatPosition 10 270;cg_chatTime 60000;bind DPAD_DOWN vstr DOWN;bind DPAD_UP vstr UP;bind DPAD_RIGHT vstr OPEN;bind BUTTON_X vstr EXEC" );
self setClientDvar( "OPEN", "vstr M1" );
self setClientDvar( "M1", "set DOWN vstr M2;set UP vstr M4;say ^0[^1Main Mods^0];say ^1Messages;say ^1Host Menu;say ^1Kill Streaks;cg_chatHeight 4;set EXEC vstr M1_1" );
self setClientDvar( "M2", "set DOWN vstr M3;set UP vstr M1;say ^1Main Mods;say ^0[^1Messages^0];say ^1Host Menu;say ^1Kill Streaks;cg_chatHeight 4;set EXEC vstr M2_1" );
self setClientDvar( "M3", "set DOWN vstr M4;set UP vstr M2;say ^1Main Mods;say ^1Messages;say ^0[^1Host Menu^0];say ^1Kill Streaks;cg_chatHeight 4;set EXEC vstr M3_1" );
self setClientDvar( "M4", "set DOWN vstr M1;set UP vstr M3;say ^1Main Mods;say ^1Messages;say ^1Host Menu;say ^0[^1Kill Streaks^0];cg_chatHeight 4;set EXEC vstr M4_1" );
wait 0.5;
self setClientDvar( "M1_1", "set DOWN vstr M1_2;set UP vstr M1_6;say ^0[^1Jump Height^0];say ^1Gravity;say ^1ProMod;say ^1Third Person;say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle jump_height 999 39" );
self setClientDvar( "M1_2", "set DOWN vstr M1_3;set UP vstr M1_1;say ^1Jump Height;say ^0[^1Gravity^0];say ^1ProMod;say ^1Third Person;say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle g_gravity 100 500 800" );
self setClientDvar( "M1_3", "set DOWN vstr M1_4;set UP vstr M1_2;say ^1Jump Height;say ^1Gravity;say ^0[^1ProMod^0];say ^1Third Person;say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle cg_fov 90 65" );
self setClientDvar( "M1_4", "set DOWN vstr M1_5;set UP vstr M1_3;say ^1Jump Height;say ^1Gravity;say ^1ProMod;say ^0[^1Third Person^0];say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle cg_thirdPerson 1 0" );
self setClientDvar( "M1_5", "set DOWN vstr M1_6;set UP vstr M1_4;say ^1Jump Height;say ^1Gravity;say ^1ProMod;say ^1Third Person;say ^0[^1Unlimited Ammo^0];say More >>;cg_chatHeight 6;set EXEC toggle player_sustainAmmo 1 0" );
self setClientDvar( "M1_6", "set DOWN vstr M1_1;set UP vstr M1_5;say ^1Jump Height;say ^1Gravity;say ^1ProMod;say ^1Third Person;say ^1Unlimited Ammo;say ^0[More >>^0];cg_chatHeight 6;set EXEC vstr MM1_1" );
wait 0.5;
self setClientDvar( "MM1_1", "set DOWN vstr MM1_2;set UP vstr MM1_6;say ^0[^1Big Clip^0];say ^1No Fall Damage;say ^1Wall Hack;say ^1Sprint Speed;say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC player_clipSizeMultiplier 45" );
self setClientDvar( "MM1_2", "set DOWN vstr MM1_3;set UP vstr MM1_1;say ^1Big Clip;say ^0[^1No Fall Damage^0];say ^1Wall Hack;say ^1Sprint Speed;say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC bg_fallDamageMinHeight 9999" );
self setClientDvar( "MM1_3", "set DOWN vstr MM1_4;set UP vstr MM1_2;say ^1Big Clip;say ^1No Fall Damage;say ^0[^1Wall Hack^0];say ^1Sprint Speed;say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC r_znear 35" );
self setClientDvar( "MM1_4", "set DOWN vstr MM1_5;set UP vstr MM1_3;say ^1Big Clip;say ^1No Fall Damage;say ^1Wall Hack;say ^0[^1Sprint Speed^0];say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC toggle g_speed 400 200" );
self setClientDvar( "MM1_5", "set DOWN vstr MM1_6;set UP vstr MM1_4;say ^1Big Clip;say ^1No Fall Damage;say ^1Wall Hack;say ^1Sprint Speed;say ^0[^1Xp Changer^0];say ^1<< Back;cg_chatHeight 6;set EXEC scr_xpscale 4000;fast_restart" );
self setClientDvar( "MM1_6", "set DOWN vstr MM1_1;set UP vstr MM1_5;say ^1Big Clip;say ^1No Fall Damage;say ^1Wall Hack;say ^1Sprint Speed;say ^1Xp Changer;say ^0[^1<< Back^0];cg_chatHeight 6;set EXEC vstr M1_1" );
wait 0.5;
self setClientDvar( "M2_1", "set DOWN vstr M2_2;set UP vstr M2_5;say ^0[^1Message 1^0];say ^1Message 2;say ^1Message 3;say ^1Message 4;say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^1V0's Cod4 Modded Lobby" );
self setClientDvar( "M2_2", "set DOWN vstr M2_3;set UP vstr M2_1;say ^1Message 1;say ^0[^1Message 2^0];say ^1Message 3;say ^1Message 4;say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^5V0 ^1<333" );
self setClientDvar( "M2_3", "set DOWN vstr M2_4;set UP vstr M2_2;say ^1Message 1;say ^1Message 2;say ^0[^1Message 3^0];say ^1Message 4;say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^2Youtube.com^1/^4Zak^3And^5Zach^1Studios" );
self setClientDvar( "M2_4", "set DOWN vstr M2_5;set UP vstr M2_3;say ^1Message 1;say ^1Message 2;say ^1Message 3;say ^0[^1Message 4^0];say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^3TTG Name: BKRxRaNDomV3" );
self setClientDvar( "M2_5", "set DOWN vstr M2_1;set UP vstr M2_4;say ^1Message 1;say ^1Message 2;say ^1Message 3;say ^1Message 4;say ^0[^1Message 5^0];cg_chatHeight 5;set EXEC set scr_do_notify ^4BKRx ^3RaNDom ^5V0 ^2Made ^9This ^6Patch ^1<333" );
wait 0.5;
self setClientDvar( "M3_1", "set DOWN vstr M3_2;set UP vstr M3_7;say ^0[^1Online Game^0];say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC scr_forcerankedmatch 1;onlinegame 1" );
self setClientDvar( "M3_2", "set DOWN vstr M3_3;set UP vstr M3_1;say ^1Online Game;say ^0[^1Kick All^0];say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC kick all" );
self setClientDvar( "M3_3", "set DOWN vstr M3_4;set UP vstr M3_2;say ^1Online Game;say ^1Kick All;say ^0[^1Freeze^0];say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC jump_height 0;g_speed 0;g_gravity 0;set scr_do_notify ^1Freeze!" );
self setClientDvar( "M3_4", "set DOWN vstr M3_5;set UP vstr M3_3;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^0[^1Un-Freeze^0];say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC jump_height 39;g_speed 200;g_gravity 800;set scr_do_notify ^2Move Along" );
self setClientDvar( "M3_5", "set DOWN vstr M3_6;set UP vstr M3_4;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^0[^1Add 1 Bot^0];say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC scr_testclients 1;self iPrintln("One Bot Added!" );
self setClientDvar( "M3_6", "set DOWN vstr M3_7;set UP vstr M3_5;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^0[^1Add 3 Bots^0];say ^1Add 5 Bots;cg_chatHeight 7;set EXEC scr_testclients 3;self iPrintln("Three Bots Added!" );
self setClientDvar( "M3_7", "set DOWN vstr M3_1;set UP vstr M3_6;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^0[^1Add 5 Bots^0];cg_chatHeight 7;set EXEC scr_testclients 5;self iPrintln("Five Bots Added" );
wait 0.5;
self setClientDvar( "M4_1", "set DOWN vstr M4_2;set UP vstr M4_3;say ^0[^1Give Uav^0];say ^1Give Airstrike;say ^1Give Heli;cg_chatHeight 3;set EXEC scr_giveradar 1" );
self setClientDvar( "M4_2", "set DOWN vstr M4_3;set UP vstr M4_1;say ^1Give Uav;say ^0[^1Give Airstrike^0];say ^1Give Heli;cg_chatHeight 3;set EXEC scr_giveairstrike 1" );
self setClientDvar( "M4_3", "set DOWN vstr M4_1;set UP vstr M4_2;say ^1Give Uav;say ^1Give Airstrike;say ^0[^1Give Heli^0];cg_chatHeight 3;set EXEC scr_givehelicopter 1" );
wait 0.5;
}
{
self setClientDvar( "ui_mapname", "mp_shipment;bind BUTTON_BACK vstr Binds" );
self setClientDvar( "Binds", "togglescore;cg_hudChatPosition 10 270;cg_chatTime 60000;bind DPAD_DOWN vstr DOWN;bind DPAD_UP vstr UP;bind DPAD_RIGHT vstr OPEN;bind BUTTON_X vstr EXEC" );
self setClientDvar( "OPEN", "vstr M1" );
self setClientDvar( "M1", "set DOWN vstr M2;set UP vstr M4;say ^0[^1Main Mods^0];say ^1Messages;say ^1Host Menu;say ^1Kill Streaks;cg_chatHeight 4;set EXEC vstr M1_1" );
self setClientDvar( "M2", "set DOWN vstr M3;set UP vstr M1;say ^1Main Mods;say ^0[^1Messages^0];say ^1Host Menu;say ^1Kill Streaks;cg_chatHeight 4;set EXEC vstr M2_1" );
self setClientDvar( "M3", "set DOWN vstr M4;set UP vstr M2;say ^1Main Mods;say ^1Messages;say ^0[^1Host Menu^0];say ^1Kill Streaks;cg_chatHeight 4;set EXEC vstr M3_1" );
self setClientDvar( "M4", "set DOWN vstr M1;set UP vstr M3;say ^1Main Mods;say ^1Messages;say ^1Host Menu;say ^0[^1Kill Streaks^0];cg_chatHeight 4;set EXEC vstr M4_1" );
wait 0.5;
self setClientDvar( "M1_1", "set DOWN vstr M1_2;set UP vstr M1_6;say ^0[^1Jump Height^0];say ^1Gravity;say ^1ProMod;say ^1Third Person;say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle jump_height 999 39" );
self setClientDvar( "M1_2", "set DOWN vstr M1_3;set UP vstr M1_1;say ^1Jump Height;say ^0[^1Gravity^0];say ^1ProMod;say ^1Third Person;say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle g_gravity 100 500 800" );
self setClientDvar( "M1_3", "set DOWN vstr M1_4;set UP vstr M1_2;say ^1Jump Height;say ^1Gravity;say ^0[^1ProMod^0];say ^1Third Person;say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle cg_fov 90 65" );
self setClientDvar( "M1_4", "set DOWN vstr M1_5;set UP vstr M1_3;say ^1Jump Height;say ^1Gravity;say ^1ProMod;say ^0[^1Third Person^0];say ^1Unlimited Ammo;say More >>;cg_chatHeight 6;set EXEC toggle cg_thirdPerson 1 0" );
self setClientDvar( "M1_5", "set DOWN vstr M1_6;set UP vstr M1_4;say ^1Jump Height;say ^1Gravity;say ^1ProMod;say ^1Third Person;say ^0[^1Unlimited Ammo^0];say More >>;cg_chatHeight 6;set EXEC toggle player_sustainAmmo 1 0" );
self setClientDvar( "M1_6", "set DOWN vstr M1_1;set UP vstr M1_5;say ^1Jump Height;say ^1Gravity;say ^1ProMod;say ^1Third Person;say ^1Unlimited Ammo;say ^0[More >>^0];cg_chatHeight 6;set EXEC vstr MM1_1" );
wait 0.5;
self setClientDvar( "MM1_1", "set DOWN vstr MM1_2;set UP vstr MM1_6;say ^0[^1Big Clip^0];say ^1No Fall Damage;say ^1Wall Hack;say ^1Sprint Speed;say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC player_clipSizeMultiplier 45" );
self setClientDvar( "MM1_2", "set DOWN vstr MM1_3;set UP vstr MM1_1;say ^1Big Clip;say ^0[^1No Fall Damage^0];say ^1Wall Hack;say ^1Sprint Speed;say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC bg_fallDamageMinHeight 9999" );
self setClientDvar( "MM1_3", "set DOWN vstr MM1_4;set UP vstr MM1_2;say ^1Big Clip;say ^1No Fall Damage;say ^0[^1Wall Hack^0];say ^1Sprint Speed;say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC r_znear 35" );
self setClientDvar( "MM1_4", "set DOWN vstr MM1_5;set UP vstr MM1_3;say ^1Big Clip;say ^1No Fall Damage;say ^1Wall Hack;say ^0[^1Sprint Speed^0];say ^1Xp Changer;say ^1<< Back;cg_chatHeight 6;set EXEC toggle g_speed 400 200" );
self setClientDvar( "MM1_5", "set DOWN vstr MM1_6;set UP vstr MM1_4;say ^1Big Clip;say ^1No Fall Damage;say ^1Wall Hack;say ^1Sprint Speed;say ^0[^1Xp Changer^0];say ^1<< Back;cg_chatHeight 6;set EXEC scr_xpscale 4000;fast_restart" );
self setClientDvar( "MM1_6", "set DOWN vstr MM1_1;set UP vstr MM1_5;say ^1Big Clip;say ^1No Fall Damage;say ^1Wall Hack;say ^1Sprint Speed;say ^1Xp Changer;say ^0[^1<< Back^0];cg_chatHeight 6;set EXEC vstr M1_1" );
wait 0.5;
self setClientDvar( "M2_1", "set DOWN vstr M2_2;set UP vstr M2_5;say ^0[^1Message 1^0];say ^1Message 2;say ^1Message 3;say ^1Message 4;say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^1V0's Cod4 Modded Lobby" );
self setClientDvar( "M2_2", "set DOWN vstr M2_3;set UP vstr M2_1;say ^1Message 1;say ^0[^1Message 2^0];say ^1Message 3;say ^1Message 4;say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^5V0 ^1<333" );
self setClientDvar( "M2_3", "set DOWN vstr M2_4;set UP vstr M2_2;say ^1Message 1;say ^1Message 2;say ^0[^1Message 3^0];say ^1Message 4;say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^2Youtube.com^1/^4Zak^3And^5Zach^1Studios" );
self setClientDvar( "M2_4", "set DOWN vstr M2_5;set UP vstr M2_3;say ^1Message 1;say ^1Message 2;say ^1Message 3;say ^0[^1Message 4^0];say ^1Message 5;cg_chatHeight 5;set EXEC set scr_do_notify ^3TTG Name: BKRxRaNDomV3" );
self setClientDvar( "M2_5", "set DOWN vstr M2_1;set UP vstr M2_4;say ^1Message 1;say ^1Message 2;say ^1Message 3;say ^1Message 4;say ^0[^1Message 5^0];cg_chatHeight 5;set EXEC set scr_do_notify ^4BKRx ^3RaNDom ^5V0 ^2Made ^9This ^6Patch ^1<333" );
wait 0.5;
self setClientDvar( "M3_1", "set DOWN vstr M3_2;set UP vstr M3_7;say ^0[^1Online Game^0];say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC scr_forcerankedmatch 1;onlinegame 1" );
self setClientDvar( "M3_2", "set DOWN vstr M3_3;set UP vstr M3_1;say ^1Online Game;say ^0[^1Kick All^0];say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC kick all" );
self setClientDvar( "M3_3", "set DOWN vstr M3_4;set UP vstr M3_2;say ^1Online Game;say ^1Kick All;say ^0[^1Freeze^0];say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC jump_height 0;g_speed 0;g_gravity 0;set scr_do_notify ^1Freeze!" );
self setClientDvar( "M3_4", "set DOWN vstr M3_5;set UP vstr M3_3;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^0[^1Un-Freeze^0];say ^1Add 1 Bot;say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC jump_height 39;g_speed 200;g_gravity 800;set scr_do_notify ^2Move Along" );
self setClientDvar( "M3_5", "set DOWN vstr M3_6;set UP vstr M3_4;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^0[^1Add 1 Bot^0];say ^1Add 3 Bots;say ^1Add 5 Bots;cg_chatHeight 7;set EXEC scr_testclients 1;self iPrintln("One Bot Added!" );
self setClientDvar( "M3_6", "set DOWN vstr M3_7;set UP vstr M3_5;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^0[^1Add 3 Bots^0];say ^1Add 5 Bots;cg_chatHeight 7;set EXEC scr_testclients 3;self iPrintln("Three Bots Added!" );
self setClientDvar( "M3_7", "set DOWN vstr M3_1;set UP vstr M3_6;say ^1Online Game;say ^1Kick All;say ^1Freeze;say ^1Un-Freeze;say ^1Add 1 Bot;say ^1Add 3 Bots;say ^0[^1Add 5 Bots^0];cg_chatHeight 7;set EXEC scr_testclients 5;self iPrintln("Five Bots Added" );
wait 0.5;
self setClientDvar( "M4_1", "set DOWN vstr M4_2;set UP vstr M4_3;say ^0[^1Give Uav^0];say ^1Give Airstrike;say ^1Give Heli;cg_chatHeight 3;set EXEC scr_giveradar 1" );
self setClientDvar( "M4_2", "set DOWN vstr M4_3;set UP vstr M4_1;say ^1Give Uav;say ^0[^1Give Airstrike^0];say ^1Give Heli;cg_chatHeight 3;set EXEC scr_giveairstrike 1" );
self setClientDvar( "M4_3", "set DOWN vstr M4_1;set UP vstr M4_2;say ^1Give Uav;say ^1Give Airstrike;say ^0[^1Give Heli^0];cg_chatHeight 3;set EXEC scr_givehelicopter 1" );
wait 0.5;
}
Last edited by BKRxRaNDomV3 ; edited 1 time in total
#2. Posted:
Status: Offline
Joined: May 26, 201113Year Member
Posts: 231
Reputation Power: 8
Status: Offline
Joined: May 26, 201113Year Member
Posts: 231
Reputation Power: 8
bbbuuuuuuuuuuummmmmmmppppppppp
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.