Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. local filelocation = "models/texture.txd" -- replace this
  2.  
  3. addEventHandler("onResourceStart", resourceRoot, function ()
  4.     local txdmodel = engineLoadTXD ( "models/office_floors.txd" )
  5.     local success = engineImportTXD ( txdmodel, 11453)
  6.     if success then
  7.         outputConsole("Mod loaded!")
  8.     else
  9.         outputConsole("An error has occured while loading the mod!")
  10.     end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement