Guest User

Untitled

a guest
Nov 23rd, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1. if(!CLIENT) then return end
  2. MATERIAL_REPLACES = {
  3. {"/GB_PRETBEK_GUNS2", "new texture"},
  4. {"maps/rp_anatolia/glass/offwndwb_-679_-190_128", "new texture"},
  5. {"/GB_PRETBEK_BIMLOGO", "new texture"},
  6. {"/GB_PRETBEK_KEBABLOGO", "new texture"},
  7. {"/GB_PRETBEK_KEBABLOGO2", "new texture"},
  8. }
  9.  
  10.  
  11. timer.Create("timer_replace_textures1", 1, 0, function()
  12. for k,v in pairs(MATERIAL_REPLACES) do
  13. if(v) then
  14. Material(v[1]):SetTexture("$basetexture",Material(v[2]):GetTexture("$basetexture"))
  15. end
  16. end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment