function replaceModel()
txd = engineLoadTXD("santa.txd", 290 )
engineImportTXD(txd, 290 )
dff = engineLoadDFF("santa.dff", 290 )
engineReplaceModel(dff, 290 )
txd = engineLoadTXD("male01.txd", 44 )
engineImportTXD(txd, 44 )
dff = engineLoadDFF("male01.dff", 44 )
engineReplaceModel(dff, 44 )
end
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel)
addCommandHandler ( "reloadcar", replaceModel )
First skin (santa) is working fine, second (male01) got this error: Error loading DFF @ 'engineLoadDFF' [male01.dff] and bad argument @ engineReplaceModel [expected dff at argument 1, got boolean]... Wtf.. How to fix this? I do not understand this..