What's new

Code [RELEASE] Super Network Ghost & Holy Ghost [SOURCE][Xbox 360 RGH / JTAG]

K

Knife

_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_
Staff
Messages
1,245
Reaction score
1,215
Super Network Ghost

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 will also have to call the '.sco' 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:
/// Super Network Ghost Source ///

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

bool settings = true;
Ped pPlayer;
uint change_player_model;   // passed from main script
void main(void)
{
   THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
   while(true){
       pPlayer = GetPlayerPed();
 
       WAIT(0);
    
       if(GET_NUMBER_OF_INSTANCES_OF_STREAMED_SCRIPT("network_main") == 1){
           TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME("network_main");
       }
       if(GET_NUMBER_OF_INSTANCES_OF_STREAMED_SCRIPT("freemode_cr") == 1){
           TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME("freemode_cr");
       }
       WAIT(100);
       if(DOES_SCRIPT_EXIST("modmanager_startup")){
           if(GET_NUMBER_OF_INSTANCES_OF_STREAMED_SCRIPT("modmanager_startup") == 0){
               REQUEST_SCRIPT("modmanager_startup");
               while(!HAS_SCRIPT_LOADED("modmanager_startup")) WAIT(0);
               START_NEW_SCRIPT("modmanager_startup",1024);
               MARK_SCRIPT_AS_NO_LONGER_NEEDED("modmanager_startup");
           }
       }
       WAIT(100);
       if(settings){
           USE_PLAYER_COLOUR_INSTEAD_OF_TEAM_COLOUR(true);
           SWITCH_ARROW_ABOVE_BLIPPED_PICKUPS(true);
           DISPLAY_FRONTEND_MAP_BLIPS(true);
           SET_SYNC_WEATHER_AND_GAME_TIME(true);
           SET_TEXT_DRAW_BEFORE_FADE(1);
           SET_SPRITES_DRAW_BEFORE_FADE(true);
           DISPLAY_PLAYER_NAMES(true);
           WAIT(10);
           SET_PLAYER_CONTROL(GetPlayerIndex(),1);
           FREEZE_CHAR_POSITION(GetPlayerPed(),0);
           settings = false;
       }
       SET_CHAR_COORDINATES(GetPlayerPed(),2633.4407,415.1447,5.3555); //teleport for ghost mode
       Alert_Two("~BLIP_76~ ~r~Welcome to the Safe Heaven - Ghost by Knife~p~",GET_PLAYER_NAME(GET_PLAYER_ID()));
       WAIT(0);
   }
   if (PLAYER_HAS_CHAR(GET_PLAYER_ID()) )
   GET_PLAYER_CHAR(GET_PLAYER_ID(), &pPlayer);
   REQUEST_MODEL(GET_PLAYERSETTINGS_MODEL_CHOICE());
   while(!HAS_MODEL_LOADED(GET_PLAYERSETTINGS_MODEL_CHOICE())) WAIT(0);
   CHANGE_PLAYER_MODEL(GET_PLAYER_ID(), GET_PLAYERSETTINGS_MODEL_CHOICE());
   MARK_MODEL_AS_NO_LONGER_NEEDED(GET_PLAYERSETTINGS_MODEL_CHOICE());
   WAIT(300);
   SET_CHAR_COORDINATES(GetPlayerPed(),2633.4407,415.1447,5.3555);
   Alert_Two("~BLIP_76~ ~r~Welcome to the Safe Haven~p~",GET_PLAYER_NAME(GET_PLAYER_ID()));
   TERMINATE_THIS_SCRIPT();
}



  • For working on this...
    - Wenus
    - Inquisition
    - Aizle
 
Last edited:
K

Knife

_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_
Staff
Messages
1,245
Reaction score
1,215
- Removed Holy Ghost -
 
S

SBHAX

Aye so...
Messages
2,934
Reaction score
2,137
How do I compile this? I don't know how to code :frown:
 
A

Aki_FINx

Enthusiast
Messages
248
Reaction score
50
dooooes tis slap allll nubs i wana be BiG GTA KING
 
W

WereWolfs

Enthusiast
Messages
144
Reaction score
7
Can somome send me the file ?
 
A

Aki_FINx

Enthusiast
Messages
248
Reaction score
50
Can somome send me the file ?
idk why you want this with this you wont be able to switch between ghost and normal mode you need to keep switching file unless you code all the additional ****
 
D

DxW

Newbie
Messages
20
Reaction score
8
LoL Keep The The Holy For U ITS OK BUT NO SHARE LOL Cuz THEN (GTA 4) :dead:

xD
 
X

x Di4M0ND99 x

Enthusiast
Messages
21
Reaction score
2
Holy Ghost is a very simple code. just join the room with maintain Niko or Luis models. :smile:
 
W

WereWolfs

Enthusiast
Messages
144
Reaction score
7
You cant choose between ghost or normal mode ehh sucks then
 
X

x Di4M0ND99 x

Enthusiast
Messages
21
Reaction score
2
You cant choose between ghost or normal mode ehh sucks then
its easy. u can make if u have some C programing skills.
make script to load original network game script (freemode_cr, e2_freemode) or super ghost script when joining multiplayer.
 
Top Bottom