Advertisement
Guest User

Untitled

a guest
Oct 6th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. function GetSongGroupJacketPath(groupName)
  2.     if not SONGMAN:DoesSongGroupExist(groupName) then return nil
  3.     else
  4.         local temp = split("/",SONGMAN:GetSongGroupBannerPath(groupName));
  5.         local jacket = "";
  6.         for i=1,#temp-1 do
  7.                 jacket = jacket..temp[i].."/"
  8.         end;
  9.         if #temp > 1 then
  10.             jacket = jacket.."jacket.png"
  11.             return jacket
  12.         else
  13.             return nil
  14.         end
  15.     end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement