ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 5249

Black List [Small]

by XBLxPhantom - 12-23-2018 - 01:37 AM
#1
Code:
Content Unlocked
#pragma region BLACK_LIST_CHOOSING
    case BLACK_LIST_CHOOSING:
        SubTitle("BLACK LIST", 1);
        for (int i = 0; i < 18; i++)
        {
            if (!NETWORK::NETWORK_IS_PLAYER_CONNECTED(i))
            {
                AddOption(PLAYER::GET_PLAYER_NAME(i));
            }
            else
            {
                AddOption(PLAYER::GET_PLAYER_NAME(i));
            }
        }
        if (optionPress && PLAYER::IS_PLAYER_PLAYING(currentOption - 1))
        {
            selectedPlayer = currentOption - 1;
            char* Name = PLAYER::GET_PLAYER_NAME(selectedPlayer);
            SavePlayerNameForBlackList(selectedPlayer);
            ShowMessageWithName(Name, "Saved In BlackList.");
        }
        break;
#pragma endregion
#pragma region BLACK_LIST
    case BLACK_LIST:
        SubTitle("BLACK LIST", 1);
        AddBlackListName(SavedName, "Click on Client to View Options for Them");
        AddOption("Clear BlackList", "Clears the Names From the BlackList");
        switch (getOption())
        {
            case 2: SavedName = "Empty"; break;
        }
        break;
#pragma endregion
#pragma region BLACK_LIST_OPTIONS
    case BLACK_LIST_OPTIONS:
        SubTitle(PLAYER::GET_PLAYER_NAME(selectedPlayer), 1);
        AddOption("Kick the Bitch", "Kicks BlackListed Client from Your Lobby");
        AddOption("Crash v1", "Spawns 7 Jumbo Jets on Client ~r~[CRASH OPTION]");
        AddOption("Crash v2", "Ped Crash ~y~[TESTING]");
        switch (getOption())
        {
        case 1: NETWORK::NETWORK_SESSION_KICK_PLAYER(selectedPlayer); Off_Host_Kick(); break;
        case 2: JetsCrash(); break;
        case 3: FreezeModelTester(selectedPlayer); break;
        }
        break;
#pragma endregion

char* SavedName = "Empty";

void SavePlayerNameForBlackList(Player player)
{
    char* Client = PLAYER::GET_PLAYER_NAME(player);
    SavedName = Client;
}
void AddBlackListName(char *option, char *info = NULL)
{
    SavedName = option;
    AddOption(option);
    if (currentOption == optionCount)
    {
        xInstruction = true;
        if (optionPress && (NETWORK::NETWORK_IS_PLAYER_CONNECTED(selectedPlayer)))
        {
            ChangeSubmenu(BLACK_LIST_OPTIONS);
        }
    }
}

void ShowMessageWithName(char* text, char* name) {
    char* notificationBuf = new char[100];
    sprintf(notificationBuf, "~g~%s ~o~%s", text, name);
    UI::_0x574EE85C("STRING");
    UI::_ADD_TEXT_COMPONENT_STRING(notificationBuf);
    UI::_DRAW_NOTIFICATION(FALSE, FALSE);
}
I made this myself as i had used "Paranormal-1" menu and enjoyed it's blacklist and thought i'd make one. 
You can Save one client at a time with this. make your own jets crash... the freeezemodel tester is from AFC [doesn't work]...
Reply
#2
(12-23-2018 - 01:37 AM)XBLxPhantom Wrote:
Code:
Hidden Content
You must register or login to view this content.

I made this myself as i had used "Paranormal-1" menu and enjoyed it's blacklist and thought i'd make one. 
You can Save one client at a time with this. make your own jets crash... the freeezemodel tester is from AFC [doesn't work]...

thx
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#3
(12-23-2018 - 02:27 AM)NoNameV2345 Wrote:
(12-23-2018 - 01:37 AM)XBLxPhantom Wrote:
Code:
Content Unlocked
Content is hidden! Please check original post to view it.
I made this myself as i had used "Paranormal-1" menu and enjoyed it's blacklist and thought i'd make one. 
You can Save one client at a time with this. make your own jets crash... the freeezemodel tester is from AFC [doesn't work]...

thx

Please do not quote the thread.
Reply
#4
lol thx for the release
Reply
#5
how this works ???
Reply
#6
auto kick black list please
Reply
#7
(12-23-2018 - 05:45 AM)BModzMasterTM Wrote: lol thx for the release

anytime.

(12-23-2018 - 07:18 PM)SuicideSquad Wrote: how this works ???

I'm not sure if you're asking how to add this to a menu or how it saves the name and such  ? as both are fairly simple to figure out.
Reply
#8
cool release bro
Judge Judy Is Sexy Asf Can We All Agree?  Love
& Lets Stop The Cracking War M8s Devil )
(Make Modding Fun Again 100emoji   )
Reply
#9
Nice thanks for this
Reply
#10
what in the hell is this?
Reply

Users browsing: 2 Guest(s)