You are viewing our Forum Archives. To view or take place in current topics click here.
Bad Syntax... Help?
Posted:

Bad Syntax... Help?Posted:

TeOzDreams
  • Challenger
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 108
Reputation Power: 4
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 108
Reputation Power: 4
Someone plz tell me whats wrong with this, when its in the patch it says bad syntax then when i take it out the patch works so this must be the problem.





doVisionz()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "button_rstick", "+melee" );
for ( ;; )
{
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer( "thermal_mp", 0.5 );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("^1THERMAL VISION!");
}
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer( "cheat_chaplinnight", 2 );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^2CHAPLIN NIGHT VISION!" );
}
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer( "cheat_contrast", 0.5 );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^3CONTRAST VISION!" );
}
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer( "blackout_nvg", 2 );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^4NIGHT VISION!" );
}
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^5NUKE VISION!" );
}
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer("ac130_inverted");
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^6BW INVERT VISION!" )
}
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer("cheat_invert_contrast");
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^1INVERT CONTRAST VISION!" )
}
self waittill( "button_rstick" );
{
self VisionSetNakedForPlayer( "default", 2 );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^2DEFAULT VISION!" )
}
}
}
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.