Advertisement
Guest User

Untitled

a guest
Aug 10th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. local skinicon=fileOpen(":vio/inventar/icons/130.png")
  2. local data=fileRead(skinicon,fileGetSize( skinicon ))
  3. for i=131, 429, 1 do
  4. if fileExists(":vio/inventar/icons/"..i..".png") then
  5. fileDelete(":vio/inventar/icons/"..i..".png")
  6. end
  7. local newIcon= fileCreate(":vio/inventar/icons/"..i..".png")
  8. fileWrite(newIcon,data)
  9. fileClose(newIcon)
  10. end
  11. end
  12. fileClose(skinicon)
  13. local skinicon=fileOpen(":vio/inventar/icons/467.png")
  14. local data=fileRead(skinicon,fileGetSize( skinicon ))
  15. for i=430,466, 1 do
  16. if fileExists(":vio/inventar/icons/"..i..".png") then
  17. fileDelete(":vio/inventar/icons/"..i..".png")
  18. end
  19. local newIcon= fileCreate(":vio/inventar/icons/"..i..".png")
  20. fileWrite(newIcon,data)
  21. fileClose(newIcon)
  22. end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement