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
 2326

CMD CO-HOST MENU GTA V

by Gold3nD1ck - 03-24-2019 - 10:38 PM
#1
this code is extracted from the revoke sprx is implemented in my menu but I have no idea how it works if someone knows comment, thanks


Quote:
Code:
void giveCMDMenuToPlayer(Player PlayerIndex, bool Toggle)
{
    if (Toggle)
    {
        int msgType = Read_Global(12767);
        switch (msgType)
        {
        case 3:
            char nameOfSenderMessage[255];
            char nameOfSender[255];
            char nameOfPlayer[255];
            snprintf(nameOfSenderMessage, sizeof(nameOfSenderMessage), "%s", Read_Global_Char(101656));
            snprintf(nameOfSender, sizeof(nameOfSender), "%s", Read_Global_Char(2375));
            int player = iNameToID(nameOfSender);
            snprintf(nameOfPlayer, sizeof(nameOfPlayer), "%s", GET_PLAYER_NAME(player));
            printf("Player: %s \nMessage: %s\nID: %i\Name ID: %s\n", nameOfSender, nameOfSenderMessage, player, nameOfPlayer);
            if (strstr(nameOfSenderMessage, "help"))
            {
                sendPlayerMessageCMD(PlayerIndex, "");
            }
            if (strstr(nameOfSenderMessage, "guns"))
            {
                sendPlayerMessageCMD(PlayerIndex, "~r~Weapons Given");
            }
            Write_Global(12767, 0);
            break;
        }
    }
}
drawNotification("Welcome to Royale 2.5, Created by SxsxModz");
C++/C# Dev
Gsc/r Dev
[Image: Royaletram2.png]

Reply
#2
alrready leaked in some sourcces lol :v
Reply
#3
this was leaked ages ago man
Reply
#4
(03-25-2019 - 02:18 AM)BModzMasterTM Wrote: alrready leaked in some sourcces lol :v


man more than programmers seem children, I think it is very good that this lekeado in the source itself but you have opened your to analyze, not the first reason to close your mouth, second is the source who needs all this code to be downloaded all the source, 2nd reason

(03-25-2019 - 09:01 AM)Venz Wrote: this was leaked ages ago man


man more than programmers seem children, I think it is very good that this lekeado in the source itself but you have opened your to analyze, not the first reason to close your mouth, second is the source who needs all this code to be downloaded all the source, 2nd reason
drawNotification("Welcome to Royale 2.5, Created by SxsxModz");
C++/C# Dev
Gsc/r Dev
[Image: Royaletram2.png]

Reply
#5
(03-24-2019 - 10:38 PM)Gold3nD1ck Wrote: this code is extracted from the revoke sprx is implemented in my menu but I have no idea how it works if someone knows comment, thanks


Quote:
Code:
void giveCMDMenuToPlayer(Player PlayerIndex, bool Toggle)
{
    if (Toggle)
    {
        int msgType = Read_Global(12767);
        switch (msgType)
        {
        case 3:
            char nameOfSenderMessage[255];
            char nameOfSender[255];
            char nameOfPlayer[255];
            snprintf(nameOfSenderMessage, sizeof(nameOfSenderMessage), "%s", Read_Global_Char(101656));
            snprintf(nameOfSender, sizeof(nameOfSender), "%s", Read_Global_Char(2375));
            int player = iNameToID(nameOfSender);
            snprintf(nameOfPlayer, sizeof(nameOfPlayer), "%s", GET_PLAYER_NAME(player));
            printf("Player: %s \nMessage: %s\nID: %i\Name ID: %s\n", nameOfSender, nameOfSenderMessage, player, nameOfPlayer);
            if (strstr(nameOfSenderMessage, "help"))
            {
                sendPlayerMessageCMD(PlayerIndex, "");
            }
            if (strstr(nameOfSenderMessage, "guns"))
            {
                sendPlayerMessageCMD(PlayerIndex, "~r~Weapons Given");
            }
            Write_Global(12767, 0);
            break;
        }
    }
}
learn
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#6
(03-25-2019 - 01:08 PM)NoNameV2345 Wrote:
(03-24-2019 - 10:38 PM)Gold3nD1ck Wrote: this code is extracted from the revoke sprx is implemented in my menu but I have no idea how it works if someone knows comment, thanks


Quote:
Code:
void giveCMDMenuToPlayer(Player PlayerIndex, bool Toggle)
{
    if (Toggle)
    {
        int msgType = Read_Global(12767);
        switch (msgType)
        {
        case 3:
            char nameOfSenderMessage[255];
            char nameOfSender[255];
            char nameOfPlayer[255];
            snprintf(nameOfSenderMessage, sizeof(nameOfSenderMessage), "%s", Read_Global_Char(101656));
            snprintf(nameOfSender, sizeof(nameOfSender), "%s", Read_Global_Char(2375));
            int player = iNameToID(nameOfSender);
            snprintf(nameOfPlayer, sizeof(nameOfPlayer), "%s", GET_PLAYER_NAME(player));
            printf("Player: %s \nMessage: %s\nID: %i\Name ID: %s\n", nameOfSender, nameOfSenderMessage, player, nameOfPlayer);
            if (strstr(nameOfSenderMessage, "help"))
            {
                sendPlayerMessageCMD(PlayerIndex, "");
            }
            if (strstr(nameOfSenderMessage, "guns"))
            {
                sendPlayerMessageCMD(PlayerIndex, "~r~Weapons Given");
            }
            Write_Global(12767, 0);
            break;
        }
    }
}
learn


listen I do not want to be disrespectful but you're missing it from me do not make me have to answer you badly, much less visit me for your house character
drawNotification("Welcome to Royale 2.5, Created by SxsxModz");
C++/C# Dev
Gsc/r Dev
[Image: Royaletram2.png]

Reply
#7
This ir leaked dude.
Reply
#8
(03-24-2019 - 10:38 PM)Gold3nD1ck Wrote: this code is extracted from the revoke sprx is implemented in my menu but I have no idea how it works if someone knows comment, thanks


Quote:
Code:
void giveCMDMenuToPlayer(Player PlayerIndex, bool Toggle)
{
    if (Toggle)
    {
        int msgType = Read_Global(12767);
        switch (msgType)
        {
        case 3:
            char nameOfSenderMessage[255];
            char nameOfSender[255];
            char nameOfPlayer[255];
            snprintf(nameOfSenderMessage, sizeof(nameOfSenderMessage), "%s", Read_Global_Char(101656));
            snprintf(nameOfSender, sizeof(nameOfSender), "%s", Read_Global_Char(2375));
            int player = iNameToID(nameOfSender);
            snprintf(nameOfPlayer, sizeof(nameOfPlayer), "%s", GET_PLAYER_NAME(player));
            printf("Player: %s \nMessage: %s\nID: %i\Name ID: %s\n", nameOfSender, nameOfSenderMessage, player, nameOfPlayer);
            if (strstr(nameOfSenderMessage, "help"))
            {
                sendPlayerMessageCMD(PlayerIndex, "");
            }
            if (strstr(nameOfSenderMessage, "guns"))
            {
                sendPlayerMessageCMD(PlayerIndex, "~r~Weapons Given");
            }
            Write_Global(12767, 0);
            break;
        }
    }
}
Very nice man add me on skype: Fabio Dev i need to talk to you
Reply
#9
(03-25-2019 - 05:16 PM)giorgi12 Wrote:
(03-24-2019 - 10:38 PM)Gold3nD1ck Wrote: this code is extracted from the revoke sprx is implemented in my menu but I have no idea how it works if someone knows comment, thanks


Quote:
Code:
void giveCMDMenuToPlayer(Player PlayerIndex, bool Toggle)
{
    if (Toggle)
    {
        int msgType = Read_Global(12767);
        switch (msgType)
        {
        case 3:
            char nameOfSenderMessage[255];
            char nameOfSender[255];
            char nameOfPlayer[255];
            snprintf(nameOfSenderMessage, sizeof(nameOfSenderMessage), "%s", Read_Global_Char(101656));
            snprintf(nameOfSender, sizeof(nameOfSender), "%s", Read_Global_Char(2375));
            int player = iNameToID(nameOfSender);
            snprintf(nameOfPlayer, sizeof(nameOfPlayer), "%s", GET_PLAYER_NAME(player));
            printf("Player: %s \nMessage: %s\nID: %i\Name ID: %s\n", nameOfSender, nameOfSenderMessage, player, nameOfPlayer);
            if (strstr(nameOfSenderMessage, "help"))
            {
                sendPlayerMessageCMD(PlayerIndex, "");
            }
            if (strstr(nameOfSenderMessage, "guns"))
            {
                sendPlayerMessageCMD(PlayerIndex, "~r~Weapons Given");
            }
            Write_Global(12767, 0);
            break;
        }
    }
}
Very nice man add me on skype: Fabio Dev i need to talk to you
okey give me two minuts and i send friend request for you
drawNotification("Welcome to Royale 2.5, Created by SxsxModz");
C++/C# Dev
Gsc/r Dev
[Image: Royaletram2.png]

Reply
#10
Nice more release keep it up
Reply

Users browsing: 3 Guest(s)