Forum: Grand Theft Auto Series Modding - Our GTA Modding Team is the best around. Tutorials & Topics related to modding your GTA games, trophies, and save files! Discuss GTA game modding with the knowledgeable members of PSX-Scene and the Official GTA IV Mod Team.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Like Tree3Likes

Thread: (REQ) Fixing my Main
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1 (REQ) Fixing my Main 
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    #include <natives.h>
    #include <common.h>
    #include <consts.h>
    #include <types.h>
    #include <strings.h>
    #include <vars.h>



    #ifdef PRIVATE
    #define MENU_TITLE "ToRonToz Mod Menu v1.0 BETA"
    #else
    #define MENU_TITLE "ToRonToz Mod Menu v1.0 BETA"
    #endif

    #include "weapons.cpp"
    #include "setup.cpp"
    #include "menu_functions.cpp"
    #include "core.cpp"


    void main(void){
    THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
    show_menu = false;
    menu_setup();

    #ifdef PRIVATE
    //gold
    s_r = 0;
    s_g = 128;
    s_b = 128;
    #else
    //blue
    s_r = 0;
    s_g = 255;
    s_b = 255;
    #endif

    Vehicle tmp,tmp2;

    if(drive_free){
    SWITCH_ROADS_OFF(-2225.109,-1006.106,-10,2786.717,2126.596,1000);
    SWITCH_AMBIENT_PLANES(false);
    }
    else{
    SWITCH_ROADS_ON(-2225.109,-1006.106,-10,2786.717,2126.596,1000);
    SWITCH_AMBIENT_PLANES(true);
    }

    if(neverwanted)
    SET_MAX_WANTED_LEVEL(0);
    #ifdef PRIVATE
    if (!GTchecklist(GET_PLAYER_NAME(GET_PLAYER_ID()))){
    PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "LMAOO U CANT CRACK IT!", 5000, 1);
    WAIT(500);
    WARP_CHAR_INTO_CAR_AS_PASSENGER(GetPlayerPed(), ClosestCar, 1);
    }
    #endif

    WAIT(100);
    do{
    WAIT(0);
    pPlayer = GetPlayerPed();

    do_menu();
    looped_functions();
    better_grenade_loop();
    do_online_player_loop();

    //individual freeze protection
    #ifdef PRIVATE
    if(modderprotect) {
    if (HAS_CHAR_GOT_WEAPON(pPlayer, WEAPON_ROCKET)) {
    REMOVE_WEAPON_FROM_CHAR(pPlayer, WEAPON_ROCKET);
    }
    }
    #endif

    if(IS_CHAR_IN_ANY_CAR(pPlayer)){
    Ped driver;
    SET_CHAR_WILL_FLY_THROUGH_WINDSCREEN(pPlayer,false ); // Seat belt ;D
    GET_CAR_CHAR_IS_USING(pPlayer,&tmp);
    GET_DRIVER_OF_CAR(tmp,&driver);
    if(driver == pPlayer){
    GET_NETWORK_ID_FROM_VEHICLE(tmp,&tmp2);
    SET_NETWORK_ID_CAN_MIGRATE(tmp2,false);
    }
    }
    else if(HAS_CONTROL_OF_NETWORK_ID(tmp2))
    SET_NETWORK_ID_CAN_MIGRATE(tmp2,true);
    } while(true);
    }







    It compiles good but when i compress it and look at it threw sco toolbox it doesn't show This_script_safe_network_game last time when i got a friend to compile it, it put that first thats how ik if it's going to work or not. Plz get back to me on this. If you dont understand what i mean just comment below. What i mean is when i compile it, it's suppose to show this_script_safe_network_game but it doesnt i tested it without it showing that in sco toolbox but it doesnt work, i tried the one my friend compiled when it showed that and it worked but idk why i cant do it he said he just compiled it without touching anything :S
    daxxphenom v1.0 are done and working
    Reply With Quote  

  2. #2  
    MrOkra is offline Member
    Join Date
    Apr 2012
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    0
    I don't know Muskels menu to well or I'd love to help, but THIS_SCRIPT_IS_SAFE_FOR_NETWORK(); don't do anything, I've used it in all my scripts for online play and still never got disconnected or what ever, best suggestion is to re-download his source, and change the title text and color, then go a bit slower when adding stuff to it, then test each time you add something.
    Reply With Quote  

  3. #3  
    ReVoLuTiioNz is offline Member
    Join Date
    Oct 2012
    Posts
    48
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    3
    i wouldnt advise useing emmanuels edited version of muskels as a base because it has cheeks for the title :and shit amm u should use muskels instead waayyy better base menu
    Reply With Quote  

  4. #4  
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    what do u mean checks for the title i have used it already and their is no problem
    daxxphenom v1.0 are done and working
    Reply With Quote  

  5. #5  
    Emmanuel U's Avatar
    Emmanuel U is offline Developer
    Join Date
    Oct 2012
    Posts
    76
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    89
    Likes Received
    65
    my menu doesn't have checks for the title....you'd be able to find it in the source.
    daxxphenom likes this.
    Add me on XBL = UtomAfryus69
    Add me on Skype = Xmcwildchild22


    My Xmc Modmenu - Online Player menu, bad stuff, weapon mods, and AIO features
    Reply With Quote  

  6. #6  
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    lmaoo thats what i said lool i changed the menu title and went into the game and it worked
    Last edited by daxxphenom; 11-04-2012 at 10:46 PM.
    daxxphenom v1.0 are done and working
    Reply With Quote  

  7. #7  
    coldmurda is offline Member
    Join Date
    Jun 2012
    Posts
    113
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    19
    Likes Received
    23
    Quote Originally Posted by daxxphenom View Post
    lmaoo thats what i said lool i changed the menu title and went into the game and it worked he clearly didnt know how to compile the menu
    They were saying you should start from the original source, which is Museklprotze Stash, as "Emmanuel's" is edited off of that. They weren't saying the menu is tricky for them understand, they were saying it must be tricky for you to understand, seeing as you have all these problems apparently not being able to get online with your 'edits'. Nothing wrong with questions, hell I ask more than my fair share every day.. They are just saying you need to start with the basics.

    Edit: Also referring to the checks, I think I do remember seeing checks for Public version and Private version in a lot more places on Emmanuel's in the menu_functions, I would assume that is what Okra meant.. When most people want something hidden/private they don't just leave it there defined as something else, it gets removed.
    MrOkra likes this.
    Reply With Quote  

  8. #8  
    daxxphenom is offline Member
    Join Date
    Sep 2012
    Posts
    89
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    20
    Likes Received
    13
    But i understand the menu now and i have added way more stuff from emmanuel's version and it worked in the game i wanted to know why every time it doesnt show this_script_safe_network_game in sco toolbox it doesnt work, but as u could see i have it in the main. That was my problem nothing to do with understanding anything else in the menu
    daxxphenom v1.0 are done and working
    Reply With Quote  

  9. #9  
    Colt's Avatar
    Colt is offline Developer
    Join Date
    Jun 2012
    Posts
    744
    Downloads
    0
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    743
    Likes Received
    228
    Quote Originally Posted by daxxphenom View Post
    But i understand the menu now and i have added way more stuff from emmanuel's version and it worked in the game i wanted to know why every time it doesnt show this_script_safe_network_game in sco toolbox it doesnt work, but as u could see i have it in the main. That was my problem nothing to do with understanding anything else in the menu
    If it works in game why does it matter what does and doesn't show in SCO Toolbox?
    Mod Videos: http://www.youtube.com/DontGetAngryBro
    Reply With Quote  

  10. #10  
    coldmurda is offline Member
    Join Date
    Jun 2012
    Posts
    113
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    19
    Likes Received
    23
    Quote Originally Posted by Colt View Post
    If it works in game why does it matter what does and doesn't show in SCO Toolbox?
    He said "it doesn't work"

    Daxx: The menu works fine in it's release state, so you have done something to mess that up when you were editing it.
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •