Release isConsole Function + Source

Discussion in 'Call of Duty: Black Ops 2 Scripts' started by Tusta, Jan 9, 2018.

  1. Tusta

    Tusta Head Member Donator

    13
    16
    14
    Credits:
    3,168
    :VerTical: isConsole :VerTical:
    Checks compiled gsc file and return a bool if it's a console file.
    :VerTical: Source
    PHP:
            public static bool isConsole(byte[] Compiled)

            {
                if (
    Compiled[0x30] == && Compiled[0x31] == 64)
                    return 
    true;
                return 
    false;
            }


    :VerTical: Credits

    • VerTical
    • dtx12, kokole, Nukem (some stuff)
     
    zOlymP and CabCon like this.
  2. zOlymP

    zOlymP Active Member

    57
    34
    228
    Credits:
    271
    many tags :grinning:
     
    Tusta and CabCon like this.
  3. Tusta

    Tusta Head Member Donator

    13
    16
    14
    Credits:
    3,168
    VerTical.
     
    CabCon likes this.
  4. CabCon

    CabCon Head Administrator Staff Member Head Staff Team

    3,960
    2,578
    403
    Credits:
    156,499
    We will update this rule and will set a maximum of tags in the future to prevent people tagging threads to many times.

    Please ensure your content (this includes tags) is valid and well-mannered.
     
    Tusta likes this.

Share This Page