Hey,it's me again,I'm here to ask you something about mixing scripts,first off,i made a model/texture replacer,and then I made a ped resource,and i'm trying to mix these im one
ped createPed ( int 264, float 1, float 11, float 14 [, float rot = 0.0 ] )
function replaceModel()
txd = engineLoadTXD("Skin/bigfoot.txd", 264 )
engineImportTXD(txd, 264)
dff = engineLoadDFF("Skin/bigfoot.dff", 264 )
engineReplaceModel(dff, 264)
end
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel)
addCommandHandler ( "reloadcar", replaceModel )
the replacemodel function doesn't work ,it just create the ped without the custom skin!