• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

PC (TUTORIAL) How to Add Freeze Gun Protection To Your Own MD Essentials Source

PPRX

Member
PPRX's GTA:IV Simple Script Coding Tutorial
for Script Beginners

* Sorry for My Bad English :( *

In this tutorial used Sublime Text 3.

Hi guys. today i will show you how to add simple freeze gun protection to MD Essentials source.
There is no detailed explanation of the native function in this tutorial.

1. Go to MD_Menu_Contents Folder
kPZELTn.png


2. Next, Create New C File. / File Name: MC_Protection_Loop.c
wJeOXix.png


3. Next, Open MC_Protection_Loop.c with your own text editor and add protection code
SC1kAs1.png

This code must be in a loop. If it detects that the player have "WEAPON ROCKET", it will be deleted automatically.

4. Next, go up the directory, open MD_Essentials.c and include "MC_Protection_Loop.C
yu88oVv.png


5. Next, Place "MC_Protection_Loop" inside the loop of the menu. Protection is not needed offline, so place it inside "IS_NETWORK_SESSION".
RXhOyRa.png


6. Next, go to the MD_Menu_Config folder and open "MD_Vars.h" with your own text editor.
2qiNOaV.png


7. Next, Add a new bool for freeze gun protection. since it is set to "true", protection is set ON by default. by setting it to "false" you can set it to OFF by default.
MTLSkeT.png


8. Next, go to MD_Menu Contents folder, open MC_Menu_Settins.c with your own text editor and add new code.
In this example, I will create freeze gun protection bool in the menu setting. This will make can protection OFF and ON.
DGp0M8W.png


This code is needed for make protection OFF & ON. please note the number of "Selected Item". if you make a mistake number, bool does not work.
KAZj57b.png


OK. freeze gun protection has been added to MD Essentials. Next, compile. For compiling, use the attached Motions97 Compiler.
UpJeeX9.png


When compiling is completed normally, the SCO file is output. If you work from a clean MD Essential, the SCO size will be 249 KB.
SCO can be compressed and there is no problem.
5Dah1Pp.png



That's all. Thanks :)
I hope this tutorial will help as many script beginners.

Credits:
PPRX
DEVILSDESIGN (MD Essential Menu Base)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ God:
    That’s the truth I see I come on here often here lately, sometimes I don’t chat! But yes I really want to help out and do everything I can bring the site back like it should be bro! Maybe we could work something out, I think I have the resources and community to help
  • @ QM|T_JinX:
    yea i have seen you on here just like unbound and some others but they didnt stick haha yea would be great to see this site grow again like you said like it should be
  • @ God:
    We will see we gotta talk to the boss man Younis
  • @ QM|T_JinX:
    for sure haha well lets hope right
  • @ QM|T_JinX:
    i still think if there was a jailbreak for ps4 this site would have been back for sure
  • @ God:
    That would be awesome I’m sure it will happen before long, technology now a days is crazy! If we can work out a deal and plans I’ll be spreading the word and doing a lot to make it better more attractive and helpful fourms tips giveaways and all
  • @ God:
    I’ve been messing and working with trying to make great CSS for the names. Like Staff Premium news writer etc..
  • @ QM|T_JinX:
    ok so hows that going /
  • @ God:
    It’s going good. So we will see what happens and if the site can come back like it was or better
  • @ QM|T_JinX:
    nice yea lets hope
  • @ QM|T_JinX:
    im going to play some red dead it was great to have spoken to you bro nice to see you back on here
  • @ QM|T_JinX:
    hope you have a great night bro
  • @ God:
    It was good talking with you as well, you have a great night! We will talk later bro
    +1
  • Chat Bot:
    QM|T_JinX has joined the room.
  • @ QM|T_JinX:
    have a great weekend everybody ill be back after the weekend
  • Chat Bot:
    OkBrruh is our newest member. Welcome!
  • Chat Bot:
    uncrtin is our newest member. Welcome!
  • Chat Bot:
    BigTechModz is our newest member. Welcome!
  • @ BigTechModz:
    Hey this is RexMods I don’t remember the login to my old account so I made a new one I am now known as BigTechModz
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    iDior2K is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    KillerDino49 is our newest member. Welcome!
  • Chat Bot:
    Xiomber is our newest member. Welcome!
      Chat Bot: Xiomber is our newest member. Welcome!
      Back
      Top