What's new

Code [RELEASE] Blackscreen Blacklist [SOURCE]

K

Knife

_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_
Staff
Messages
1,264
Reaction score
1,240
Blackscreen Blacklist

Hello Sinners!

Today I bring you the source to one of the most infamous scripts around... Let's level the playing field a little.
The catch is, if you can compile it, you can use it. You must autoload the sco using whichever menu you use or call the file inside your 'network_startup.sco'.


I know a few people are going to either hate on me for this and I also know there will be the minority that appreciate me doing this.

Code:
/****
Knife's Blackscreen Blacklist script.
Do not give out the source or the script!
Change something only if you know what you are doing!
****/

#include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>

//Checks if someone is in the game, works on players with the Super Ghost Network ...

boolean FreezePlayer(int player)//Find the Hash > Open IV > Tools > Hash Generator (Enter their exact gamertag).
{
   if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
    else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
    else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   return false;
}

void check_xbl_loop(void)
{
   Ped online_char;
   int i;
   for(i = 0;i <= 16;i++)
   {
       if(!IS_NETWORK_PLAYER_ACTIVE(i)) continue; //Checks if the player is in the game.
       if(GET_PLAYER_ID() == i) continue; // Checks if this is not our player.
       if(FreezePlayer(i))
       {
           GET_PLAYER_CHAR(i,&online_char);
           PRINT_STRING_WITH_TWO_LITEERAL_STRING("STRTNM3", "Blacklisted Player Detected", GET_PLAYER_NAME(i), 3000, 1);
           TELL_NET_PLAYER_TO_START_PLAYING(i, true); //Blackscreen Native
           return;
       }
   }
}

void main(void)
{
   THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
   SET_FAKE_WANTED_LEVEL(6);
   while(true)
   {
       if(IS_NETWORK_SESSION())
       {
           check_xbl_loop();
       }
   }
}
  • For working on this...
  • - Knife
 
Last edited:
S

swagger112

Newbie
Messages
7
Reaction score
1
a few errors but nice job
 
K

Knife

_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_
Staff
Messages
1,264
Reaction score
1,240
S

SBHAX

Aye so...
Messages
2,934
Reaction score
2,137
Should also remove GET_PLAYER_CHAR as TELL_NET uses the players ID not Ped, plus you're not even using it :tongue:
 
S

swagger112

Newbie
Messages
7
Reaction score
1
PHP:
boolean FreezePlayer(int player)//Find the Hash > Open IV > Tools > Hash Generator (Enter their exact gamertag).
{
   if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   else if(GET_HASH_KEY(GET_PLAYER_NAME(player)) ==  "Hash Here") return true;
   return false;
}



void check_xbl_loop(void)
{
   int i;
   for(i = 0;i <= 15;i++)
   {
       if(!IS_NETWORK_PLAYER_ACTIVE(i)) continue; //Checks if the player is in the game.
       if(!PLAYER_HAS_CHAR(i)) continue; // skips non chars
       if(GET_PLAYER_ID() == i) continue; // Checks if this is not our player.
       if(!FreezePlayer(i)) continue;
       PRINT_STRING_WITH_TWO_LITEERAL_STRINGS("STRTNM3", "Blacklisted Player Detected", GET_PLAYER_NAME(i), 3000, 1);
       TELL_NET_PLAYER_TO_START_PLAYING(i, true); //Blackscreen Native
   }
}

void main(void)
{
   THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
   if(!IS_NETWORK_SESSION()) TERMINATE_THIS_SCRIPT(); // single-player
   while(true)
   {
    check_xbl_loop();
    WAIT(0);
   }
}

optimized the code for u, you need a WAIT(0) in the loop or the script will lag like f*** giving you like 19 fps
 
Last edited:
Top Bottom