Post: Help with error.
10-06-2014, 12:05 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); close or delete
(adsbygoogle = window.adsbygoogle || []).push({});
10-06-2014, 12:22 AM #2
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by PatriotMods View Post
I keep getting an error on the Bullets Menu line on this:

MenuOption("Project Freedom ", 0, "Main Menu", ::SubMenu, "Main Mods");
self MenuOption("Project Freedom ", 1, "Fun Menu", ::SubMenu, "Fun Menu");
self MenuOption("Project Freedom ", 2, "Aimbot Menu", ::SubMenu, "Aimbot Menu");
self MenuOption("Project Freedom ", 3, "Bullets Menu", ::SubMenu, "Bullet Menu");

I dont see what the problem is. To me it looks word for word, but this is my first gsc so other people might know better than me. Please put **FIXED** lines or line in reply. Thanks <3


The first line is missing self.
So change it to - self MenuOption("Project Freedom ", 0, "Main Menu", ::SubMenu, "Main Mods");
10-06-2014, 12:41 AM #3
Originally posted by SyGnUs View Post
The first line is missing self.
So change it to - self MenuOption("Project Freedom ", 0, "Main Menu", ::SubMenu, "Main Mods");


that didnt work. the error is on the green line
10-06-2014, 12:43 AM #4
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by PatriotMods View Post
that didnt work. the error is on the green line


Still that was wrong, but you can't really expect someone to figure out what is wrong with the code when you only show 4 lines of code.
10-06-2014, 12:48 AM #5
it just copied over wrong

here is more of the code
MenuStructure()
{
if (self.Verified == true)
{
self MainMenu("Project Freedom ", undefined);
self MenuOption("Project Freedom ", 0, "Main Menu", ::SubMenu, "Main Mods");
self MenuOption("Project Freedom ", 1, "Fun Menu", ::SubMenu, "Fun Menu");
self MenuOption("Project Freedom ", 2, "Aimbot Menu", ::SubMenu, "Aimbot Menu");
self MenuOption("Project Freedom ", 3, "Ammo Menu", ::SubMenu, "Ammo Menu");
self MenuOption("Project Freedom ", 4, "Messages Menu", ::SubMenu, "Messages Menu");
self MenuOption("Project Freedom ", 5, "Weapon Menu", ::SubMenu, "Weapon Menu");
self MenuOption("Project Freedom ", 6, "Theme Menu", ::SubMenu, "Theme Menu");
self MenuOption("Project Freedom ", 7, "KillStreaks Menu", ::SubMenu, "KillStreaks Menu");
}

the green line is the line with the error
10-06-2014, 12:53 AM #6
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by PatriotMods View Post
it just copied over wrong

here is more of the code
MenuStructure()
{
if (self.Verified == true)
{
self MainMenu("Project Freedom ", undefined);
self MenuOption("Project Freedom ", 0, "Main Menu", ::SubMenu, "Main Mods");
self MenuOption("Project Freedom ", 1, "Fun Menu", ::SubMenu, "Fun Menu");
self MenuOption("Project Freedom ", 2, "Aimbot Menu", ::SubMenu, "Aimbot Menu");
self MenuOption("Project Freedom ", 3, "Ammo Menu", ::SubMenu, "Ammo Menu");
self MenuOption("Project Freedom ", 4, "Messages Menu", ::SubMenu, "Messages Menu");
self MenuOption("Project Freedom ", 5, "Weapon Menu", ::SubMenu, "Weapon Menu");
self MenuOption("Project Freedom ", 6, "Theme Menu", ::SubMenu, "Theme Menu");
self MenuOption("Project Freedom ", 7, "KillStreaks Menu", ::SubMenu, "KillStreaks Menu");
}

the green line is the line with the error


Like I said before, that is not enough to go off of, good luck..
10-06-2014, 12:57 AM #7
A.Thanks for trying to help me, I fixed it.

B. Thats more than most people show.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo