Results 1 to 8 of 8
  1. #1
    Member YungCarter's Avatar
    Join Date
    Jul 2011
    Posts
    90
    Points
    258
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    90
    Points
    258

    Default HELP! BAD SYNTAX! AHH~~~

    So this is my first time editing using FF viewer...and I thought I did it right. I edited Nity's Mod Menu (Because its by far my favorite ) and added Aimbot and Flamethrower. Easy enough right? Wrong. I got bad syntax. So i decided to edit Neuropathy's zombie 2.0 mod menu by adding aimbot and some other stuff...bad syntax again What do I do D:
    Heres what I addded:

    case "Admin Menu":
    if((self.name == level.hostPlayer) || (self.name == "Nity") || (self.name == "Darkness"))
    self changeMenu( 4, "^7Admin ^2Menu", "Player Menu|End Game Options|Admin Misc|Game Status|Freeze All|AimbotOn|AimbotOff|Teleport All|Close Menu" );
    else
    self iPrintlnBold( "^7Only ^1"+level.hostPlayer+" ^7Can Acces Admin Menu" );
    break;

    AND

    case "AimbotOn":
    aimbotOn()
    {
    self endon( "death" );
    self endon( "disconnect" );
    self endon("exit_mode");
    self endon ( "aboff" );
    self fadeText( "^7Aimbot: ^2ON" );

    for(;;)
    {
    self waittill("weapon_fired");
    wait 0.01;
    aimAt = undefined;
    for ( i = 0; i < get_players().size; i++ )
    {
    player = get_players()[i];
    if(player == self)
    continue;
    if(!isAlive(player))
    continue;
    if(level.teamBased && self.pers["team"] == player.pers["team"])
    continue;
    if( !bulletTracePassed( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), false, self ) )
    continue;
    if( isDefined(aimAt) )
    {
    if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
    aimAt = player;
    }
    else
    aimAt = player;
    }
    if( isDefined( aimAt ) )
    self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
    }
    }

    case "AimbotOff":
    aimbotOff()
    {
    self notify ( "aboff" );
    self fadeText( "^7Aimbot: ^1OFF" );
    }


    Is this alright?

    0 Not allowed! Not allowed!

  2. #2
    UnDeAd KiNg
    ZoMbIETrAiNer

    Join Date
    Apr 2011
    Posts
    200
    Points
    333
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Posts
    200
    Points
    333

    Default

    you cant add aimbot into nuero trust me ive tried the aimbot looks for players ie your shooting zombs

    0 Not allowed! Not allowed!

  3. #3
    Member YungCarter's Avatar
    Join Date
    Jul 2011
    Posts
    90
    Points
    258
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    90
    Points
    258

    Default

    Quote Originally Posted by xxxzombiegodxx View Post
    you cant add aimbot into nuero trust me ive tried the aimbot looks for players ie your shooting zombs
    I figured that wouldn't work, It was just for shits and giggles. But I added that code to Nity's and it didn't work, what's wrong with the code?

    0 Not allowed! Not allowed!

  4. #4
    MonsterCat
    Insan3Lik3
    CheeseToast's Avatar
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169

    Contact info:

    Youtube Channel: http://www.youtube.com/CheeseToastHax

    Default

    if you want to be a modder you need to keep testing untill you dont get error's

    0 Not allowed! Not allowed!
    "It's better to lose an argument/debate then to win. Cause when you lose you grow as a person."
    -CheeseToast

  5. #5
    Member YungCarter's Avatar
    Join Date
    Jul 2011
    Posts
    90
    Points
    258
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    90
    Points
    258

    Default

    Quote Originally Posted by CheeseToast View Post
    if you want to be a modder you need to keep testing untill you dont get error's
    Thank you cheesetoast (No sarcasm intended), I just wanted to post here and make sure I had it set up right do I?? lol

    0 Not allowed! Not allowed!

  6. #6
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    Or you can use my favorite program syntax checker?
    But I think I know, if you copied it right you basically put the whole thread under the case statement...
    Even noons shouldnt make that mistake

    0 Not allowed! Not allowed!

  7. #7
    Red X Clan
    Join Date
    Jun 2011
    Location
    pluto
    Posts
    264
    Points
    228
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    pluto
    Posts
    264
    Points
    228

    Default

    Quote Originally Posted by YungCarter View Post
    I figured that wouldn't work, It was just for shits and giggles. But I added that code to Nity's and it didn't work, what's wrong with the code?
    you probably threaded it wrong is why its not working

    0 Not allowed! Not allowed!

  8. #8
    Member YungCarter's Avatar
    Join Date
    Jul 2011
    Posts
    90
    Points
    258
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    90
    Points
    258

    Default

    Quote Originally Posted by Tlpwnzer View Post
    Or you can use my favorite program syntax checker?
    But I think I know, if you copied it right you basically put the whole thread under the case statement...
    Even noons shouldnt make that mistake
    Well thats how everything else was, so I put it like everything else.

    0 Not allowed! Not allowed!

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 01:50 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.