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 Tree6Likes
  • 4 Post By Raeralus
  • 1 Post By Colt
  • 1 Post By HuN

Thread: Help please for change my character..
  

Results 1 to 4 of 4
  1. #1 Exclamation Help please for change my character.. 
    Join Date
    May 2012
    Location
    Etats-Unis
    Posts
    50
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    8
    Hi everyone, I'm looking for source code to change my character

  2. #2  
    Raeralus's Avatar
    Raeralus is offline Software Engineer
    Join Date
    Nov 2012
    Location
    0x456e676c616e64
    Posts
    146
    Downloads
    2
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    45
    Quote Originally Posted by W33D x F4STAND View Post
    Hi everyone, I'm looking for source code to change my character
    Shouldn't this have been posted in the Mega Script thread?

    Anyway...

    Code:
    int changePlayerModel(uint hash) {
    
        Ped player = GetPlayerPed();
        CHANGE_PLAYER_MODEL(&player, hash);
        return 0;
    
    }
    
    changePlayerModel(0x907AF88D); // 0x907AF88D is the hash for the Security Guard (Lenny).
    If you do not have the GetPlayerPed definition (Normally found in common.h as provided by SCOCL), then make sure you use this:

    Code:
    Ped GetPlayerPed(void)
    {
    	Ped playerped = INVALID_HANDLE;
    	if ( PLAYER_HAS_CHAR(GetPlayerIndex()) )
    		GET_PLAYER_CHAR(GetPlayerIndex(), &playerped);
    	return playerped;
    }
    List of model hashes:
    List of models hashes - GTAModding

  3. #3  
    Colt's Avatar
    Colt is online now Developer
    Join Date
    Jun 2012
    Posts
    744
    Downloads
    0
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    744
    Likes Received
    229
    Yeah, this should have been posted in the "General Help Thread", please post all future questions there.
    Emmanuel U likes this.

  4. #4  
    HuN's Avatar
    HuN
    HuN is offline Moderator
    Join Date
    Feb 2012
    Posts
    463
    Downloads
    2
    Uploads
    0
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    450
    Likes Received
    402
    Quote Originally Posted by W33D x F4STAND View Post
    Hi everyone, I'm looking for source code to change my character
    such questions should be posted in " general help " thread :
    http://psx-scene.com/forums/f276/general-help-108124/

    closed !
    Emmanuel U likes this.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •