Advertisement
Shiny_

Untitled

Jul 13th, 2014
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.73 KB | None | 0 0
  1. TexturesAndModels = function()
  2.     txd = engineLoadTXD("object/akina.txd")
  3.     engineImportTXD(txd, 3923)
  4.     col = engineLoadCOL("object/akina1.col")
  5.     dff = engineLoadDFF("object/akina1.dff", 0)
  6.     engineReplaceCOL(col, 3923)
  7.     engineReplaceModel(dff, 3923)
  8.     engineSetModelLODDistance(3923, 2000)
  9. end
  10.  
  11. setTimer(TexturesAndModels, 3923, 1)
  12. addEventHandler("onClientResourceStop", getResourceRootElement(getThisResource()), function()
  13.     engineRestoreCOL(3923)
  14.     engineRestoreModel(3923)
  15.     destroyElement(dff)
  16.     destroyElement(col)
  17.     destroyElement(txd)
  18. end)
  19.  
  20. TexturesAndModels = function()
  21.     txd = engineLoadTXD("object/akina.txd")
  22.     engineImportTXD(txd, 3911)
  23.     col = engineLoadCOL("object/akina2.col")
  24.     dff = engineLoadDFF("object/akina2.dff", 0)
  25.     engineReplaceCOL(col, 3911)
  26.     engineReplaceModel(dff, 3911)
  27.     engineSetModelLODDistance(3911, 2000)
  28. end
  29.  
  30. setTimer(TexturesAndModels, 3000, 1)
  31. addEventHandler("onClientResourceStop", getResourceRootElement(getThisResource()), function()
  32.     engineRestoreCOL(3911)
  33.     engineRestoreModel(3911)
  34.     destroyElement(dff)
  35.     destroyElement(col)
  36.     destroyElement(txd)
  37. end)
  38.  
  39. TexturesAndModels = function()
  40.     txd = engineLoadTXD("object/akina.txd")
  41.     engineImportTXD(txd, 3907)
  42.     col = engineLoadCOL("object/akina3.col")
  43.     dff = engineLoadDFF("object/akina3.dff", 0)
  44.     engineReplaceCOL(col, 3907)
  45.     engineReplaceModel(dff, 3907)
  46.     engineSetModelLODDistance(3907, 2000)
  47. end
  48.  
  49. setTimer(TexturesAndModels, 3000, 1)
  50. addEventHandler("onClientResourceStop", getResourceRootElement(getThisResource()), function()
  51.     engineRestoreCOL(3907)
  52.     engineRestoreModel(3907)
  53.     destroyElement(dff)
  54.     destroyElement(col)
  55.     destroyElement(txd)
  56. end)
  57.  
  58. TexturesAndModels = function()
  59.     txd = engineLoadTXD("object/akina.txd")
  60.     engineImportTXD(txd, 3906)
  61.     col = engineLoadCOL("object/akina4.col")
  62.     dff = engineLoadDFF("object/akina4.dff", 0)
  63.     engineReplaceCOL(col, 3906)
  64.     engineReplaceModel(dff, 3906)
  65.     engineSetModelLODDistance(3906, 2000)
  66. end
  67.  
  68. setTimer(TexturesAndModels, 3000, 1)
  69. addEventHandler("onClientResourceStop", getResourceRootElement(getThisResource()), function()
  70.     engineRestoreCOL(3906)
  71.     engineRestoreModel(3906)
  72.     destroyElement(dff)
  73.     destroyElement(col)
  74.     destroyElement(txd)
  75. end)
  76.  
  77. TexturesAndModels = function()
  78.     txd = engineLoadTXD("object/akina.txd")
  79.     engineImportTXD(txd, 3905)
  80.     col = engineLoadCOL("object/akina5.col")
  81.     dff = engineLoadDFF("object/akina5.dff", 0)
  82.     engineReplaceCOL(col, 3905)
  83.     engineReplaceModel(dff, 3905)
  84.     engineSetModelLODDistance(3905, 2000)
  85. end
  86.  
  87. setTimer(TexturesAndModels, 3000, 1)
  88. addEventHandler("onClientResourceStop", getResourceRootElement(getThisResource()), function()
  89.     engineRestoreCOL(3905)
  90.     engineRestoreModel(3905)
  91.     destroyElement(dff)
  92.     destroyElement(col)
  93.     destroyElement(txd)
  94. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement