Jump to content

[Sug] txd/dff with command ?


Perfect

Recommended Posts

Posted

Hi All, i mean if i type /change then cj skin change to tommy and if i type again then it change back to cj.

maybe we can't do this

  
local skinchange = local skin = engineLoadTXD("cj.txd", true) engineImportTXD(skin, 0) local skin = engineLoadDFF("cj.dff", 0) engineReplaceModel(skin, 0) 
function skinChangerMod() 
if ( skinchange ) then 
    local skin = engineLoadTXD("tommy.txd", true) 
    engineImportTXD(skin, 0) 
    local skin = engineLoadDFF("tommy.dff", 0) 
    engineReplaceModel(skin, 0) 
    outputChatBox("Your skin has been changed to tommy", player ) 
else 
    local skin = engineLoadTXD("cj.txd", true) 
    engineImportTXD(skin, 0) 
    local skin = engineLoadDFF("cj.dff", 0) 
    engineReplaceModel(skin, 0) 
    outputChatBox("Your skin has been changed to cj", player ) 
    end  
end 
addEventHandler("onClientResourceStart", resourceRoot, skinChangerMod) 
addCommandHandler("skinchange", skinChangerMod 

or we can ?

i just want to know that is possible or not

Multi Theft Auto Player since middle of 2011.

Everybody want to act Crazy/Smart/Intelligent/Different/Unique/Innocent and Thats why I am Perfect.

Posted
I think you can't change CJ model. It is disabled.

ok so 23

it will work ?

Multi Theft Auto Player since middle of 2011.

Everybody want to act Crazy/Smart/Intelligent/Different/Unique/Innocent and Thats why I am Perfect.

Posted

Up ^^^ Push.

Multi Theft Auto Player since middle of 2011.

Everybody want to act Crazy/Smart/Intelligent/Different/Unique/Innocent and Thats why I am Perfect.

Posted

got it. maybe time to lock the topic :P (I am not sure i should thank you or thank myself, anyway thnx)

Multi Theft Auto Player since middle of 2011.

Everybody want to act Crazy/Smart/Intelligent/Different/Unique/Innocent and Thats why I am Perfect.

Posted

Topic moved to: "Scripting" section.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...