Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mods = {
- "2719","1575","1576","1571","1577","1578","1579","1580","1644","1550"
- }local aMods = {164, 165, 163}
- local sMod
- function downloadMods()
- for modId,modName in pairs (aMods ) do
- downloadFile("objects/"..modName..".dff" )
- downloadFile("objects/"..modName..".txd" )
- sMod = modName
- end
- end
- function onModDownloadFinish( file, success)
- if ( success ) then
- local texture = engineLoadTXD ("animals/"..sMod..".txd" )
- engineImportTXD(texture, sMod )
- local dff = engineLoadDFF("animals/"..sMod..".dff" )
- engineReplaceModel(dff, sMod )
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment