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 Tree46Likes

Thread: [TUT] How to Compile Code + Example Scripts
  

Page 15 of 16 FirstFirst ... 5 13 14 15 16 LastLast
Results 141 to 150 of 159
  1. #141  
    ribonucleic's Avatar
    ribonucleic is offline Moderator & Developer
    Join Date
    Mar 2012
    Posts
    652
    Downloads
    4
    Uploads
    0
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    127
    Likes Received
    280
    Quote Originally Posted by nativesith View Post
    I wonder...if I made every multiplayer_FY clothing all transparent...would it show em in jus the underwear?
    That would be kewl, Undies!!!
    Er half transparent Underwear! Er new underwear...jus SPITballin .
    perv, lol

    Quote Originally Posted by EvilB View Post
    no adding textures is not possible you can only overwrite existing textures but there might be a way to add new texture dictionary's by renaming a current dictionary to a diff name and add to the ps3.rpf then load that thru script.
    did TBOGT and TLAD come with new textures??
    nativesith likes this.
    Reply With Quote  

  2. #142  
    ribonucleic's Avatar
    ribonucleic is offline Moderator & Developer
    Join Date
    Mar 2012
    Posts
    652
    Downloads
    4
    Uploads
    0
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    127
    Likes Received
    280
    Quote Originally Posted by ribonucleic View Post


    did TBOGT and TLAD come with new textures??
    i guess the answer is most probably yes
    Reply With Quote  

  3. #143  
    EvilB's Avatar
    EvilB is offline Bringin' that funky flava
    Join Date
    Jan 2011
    Posts
    408
    Downloads
    16
    Uploads
    0
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    68
    Likes Received
    460
    Quote Originally Posted by ribonucleic View Post
    i guess the answer is most probably yes
    if they did they will be in the dlc.rpf
    Reply With Quote  

  4. #144  
    ribonucleic's Avatar
    ribonucleic is offline Moderator & Developer
    Join Date
    Mar 2012
    Posts
    652
    Downloads
    4
    Uploads
    0
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    127
    Likes Received
    280
    anyone got a keyboard map? compiler error KEY_F7 undeclared
    Reply With Quote  

  5. #145  
    Three-Socks's Avatar
    Three-Socks is offline Developer
    Join Date
    Feb 2011
    Posts
    362
    Downloads
    16
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    83
    Likes Received
    308
    Quote Originally Posted by ribonucleic View Post
    anyone got a keyboard map? compiler error KEY_F7 undeclared
    IS GAME KEYBOARD KEY JUST PRESSED - GTAModding

    https://code.google.com/p/hyperdbg/s...c=svn130&r=123

    i'm intrigued to know what your working on
    nativesith likes this.
    Reply With Quote  

  6. #146  
    NOLABaby8732 is offline Member
    Join Date
    Feb 2012
    Posts
    12
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    0
    Im trying to make a mod but it keeps freezing... i put those prints in there so i can have an idea of where its freezing but i dont know what line is causing it.

    Here is the code:
    Code:
    print("2");
                    for (h = 1500; h > 0; h--)
                    {
                        WAIT(30);
                        GENERATE_RANDOM_INT_IN_RANGE(1, 55, &r);
    					print("3");
                        if (r == 5 && !IS_PED_RAGDOLL(pPlayer)) { 
    						CREATE_NM_MESSAGE(1, 198);
                            SEND_NM_MESSAGE(pPlayer); 						
    						SWITCH_PED_TO_RAGDOLL(pPlayer, 10000, (int)(800 + h / 2), 1, 1, 1, 0);
    						GIVE_PLAYER_RAGDOLL_CONTROL(GET_PLAYER_ID(), true);
    					}
    					print("4");
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &red);					
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &green);					
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &blue);
    					GET_CHAR_COORDINATES(pPlayer, &x, &y, &z);
    					print("5");
    NOTE: Please pretend that for the codes sake r = 5, also this is a half of a PC mod im porting then im adding my own little touch to it, so with that said i do not know exactly how CREATE_NM_MESSAGE works
    Reply With Quote  

  7. #147  
    ribonucleic's Avatar
    ribonucleic is offline Moderator & Developer
    Join Date
    Mar 2012
    Posts
    652
    Downloads
    4
    Uploads
    0
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    127
    Likes Received
    280
    Quote Originally Posted by NOLABaby8732 View Post
    Im trying to make a mod but it keeps freezing... i put those prints in there so i can have an idea of where its freezing but i dont know what line is causing it.

    Here is the code:
    Code:
    print("2");
                    for (h = 1500; h > 0; h--)
                    {
                        WAIT(30);
                        GENERATE_RANDOM_INT_IN_RANGE(1, 55, &r);
    					print("3");
                        if (r == 5 && !IS_PED_RAGDOLL(pPlayer)) { 
    						CREATE_NM_MESSAGE(1, 198);
                            SEND_NM_MESSAGE(pPlayer); 						
    						SWITCH_PED_TO_RAGDOLL(pPlayer, 10000, (int)(800 + h / 2), 1, 1, 1, 0);
    						GIVE_PLAYER_RAGDOLL_CONTROL(GET_PLAYER_ID(), true);
    					}
    					print("4");
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &red);					
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &green);					
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &blue);
    					GET_CHAR_COORDINATES(pPlayer, &x, &y, &z);
    					print("5");
    NOTE: Please pretend that for the codes sake r = 5, also this is a half of a PC mod im porting then im adding my own little touch to it, so with that said i do not know exactly how CREATE_NM_MESSAGE works
    if you're wondering why no-one is helping its because you appear to have posted only half the code of whatever it is you're trying to accomplish
    creighton and InTheSevens like this.
    Reply With Quote  

  8. #148  
    InTheSevens's Avatar
    InTheSevens is offline Member
    Join Date
    Oct 2012
    Posts
    127
    Downloads
    2
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    52
    Likes Received
    66
    Quote Originally Posted by ribonucleic View Post
    if you're wondering why no-one is helping its because you appear to have posted only half the code of whatever it is you're trying to accomplish
    That's what happens when he just copies and pastes someone else's code.
    Reply With Quote  

  9. #149  
    Goddess's Avatar
    Goddess is offline Registered User
    Join Date
    May 2013
    Posts
    6
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    Do you know where i can find alex's tutorials on here?
    Reply With Quote  

  10. #150  
    spadger's Avatar
    spadger is offline Member
    Join Date
    Mar 2012
    Location
    UK
    Posts
    145
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    29
    Quote Originally Posted by NOLABaby8732 View Post
    Im trying to make a mod but it keeps freezing... i put those prints in there so i can have an idea of where its freezing but i dont know what line is causing it.

    Here is the code:
    Code:
    print("2");
                    for (h = 1500; h > 0; h--)
                    {
                        WAIT(30);
                        GENERATE_RANDOM_INT_IN_RANGE(1, 55, &r);
    					print("3");
                        if (r == 5 && !IS_PED_RAGDOLL(pPlayer)) { 
    						CREATE_NM_MESSAGE(1, 198);
                            SEND_NM_MESSAGE(pPlayer); 						
    						SWITCH_PED_TO_RAGDOLL(pPlayer, 10000, (int)(800 + h / 2), 1, 1, 1, 0);
    						GIVE_PLAYER_RAGDOLL_CONTROL(GET_PLAYER_ID(), true);
    					}
    					print("4");
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &red);					
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &green);					
    					GENERATE_RANDOM_INT_IN_RANGE(0, 255, &blue);
    					GET_CHAR_COORDINATES(pPlayer, &x, &y, &z);
    					print("5");
    NOTE: Please pretend that for the codes sake r = 5, also this is a half of a PC mod im porting then im adding my own little touch to it, so with that said i do not know exactly how CREATE_NM_MESSAGE works
    For debugging it's a good way to find bugs using print commands at every call. Try putting a wait(0); after every print, sometimes it may freeze but still manage to execute to the next print if you dont "wait" for the previous code to complete, thereby giving a false reading.
    wtj2ysku6kuiutbv.tor2web.org < My GTA4 Source
    Reply With Quote  

Page 15 of 16 FirstFirst ... 5 13 14 15 16 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
  •