What'd I mess up on in this code?

If you need more of the script, let me know. The error it gives ingame is:

[gamemodes\axiom\gamemode\init.lua:98] attempt to index global ‘ply’ (a nil value)


function RoundStart()
	if timer.IsTimer("roundtimer1") then timer.IsTimer("roundtimer1")
	else
	for k,v in pairs( player.GetAll() ) do                
		if ( v:Alive() && v:Team() > 0 ) then
			timer.Create("roundtimer1", 480, 0, RoundNotifyStart())
			end
		end
	end
end

function RoundNotifyStart()
	ply:ChatPrint( "Round Started: You have six minutes to locate the cure" )
	end

you haven’t posted any errors, that’s what you messed up.

Updated, I forgot to do that. The error is now up.

RoundNotifyStart(v)

function RoundNotifyStart(ply)

Thanks, works perfect now.