Jump to content

[Help]CJ Skin


Element666

Recommended Posts

Hey there community, I was wondering this morning if it's possible to change CJ character and clothes.
I kinda wanted to change CJ skin to Franklin's and it did not work so I need some help.

 

function onResourceStart()
Face = engineLoadTXD ( "Franklin1/player_face.txd" )
	engineImportTXD ( Face, 0	 )
Face1 = engineLoadDFF ( "Franklin1/head.dff" )
	engineReplaceModel ( Face1, 0 )
legs = engineLoadTXD ( "Franklin1/player_legs.txd" )
	engineImportTXD ( legs, 0	 )
hands = engineLoadDFF ( "Franklin1/head.dff" )
	engineReplaceModel ( hands, 0 )
torso = engineLoadTXD ( "Franklin1/player_face.txd" )
	engineImportTXD ( torso, 0	 )
end
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)

This is the code I used and when I execute the resource it says this.

Quote

WARNING: Character/Char.lua:9: Bad usage @ 'engineReplaceModel' [Model ID 0 replace failed]

 

Link to comment
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...