Sorry I have to be short but I am using my iPhones hot spot. Even after reading that I dont get what you mean .-. Im not 10/10 lua expert or 1/10 I know a decent amount of it. I know some. Im glad that you are helping,

, but I dont understand what you mean. This way, people know what you vote for, and your helping with that but, Im not sure how to do it myself.. I have 2 scripts, both in 1 file. How would I take the song title from the -- YouTube part and below and implement that into the -- VoteSong part so people know what they vote for? Now hopefully this is a better look on how Im doing to code and how it can be done?
-- VoteSong
function ulx.votesong( calling_ply, string )
v = v + 1
PrintMessage( HUD_PRINTTALK, "A vote has been started to play a song! If you wish to vote to play the song, type, !votesong " .. string .. "" )
if v == 3 then
game.ConsoleCommand( "ulx youtube " .. string .. "" )
ulx.fancyLogAdmin( "Console has passed the request to play the music!" )
if ply:IsUserGroup( "superadmin" ) then
hook.Add( "VetoSay", "VetoSong", function( calling_ply, text )
text = string.lower( text )
if ( text = "!vetosong" ) then
v = 0
return ""
end
end )
end
end
end
local votesong = ulx.command( CATEGORY_NAME, "ulx votesong", ulx.votesong, "!votesong" )
votesong:defaultAccess( ULib.ACCESS_ALL )
votesong:help( "Type !votesong ID to play audio from youtube." )
-- End of VoteSong
-- YouTube
ply:ChatPrint( "Changed code for some reason I dont know. This is not the command." )
-- End of YouTube