Look at my fail lua !!
function Fail(F)
if a[1] then Fail
if a[1] > 0 && a[1] <= 3 then
p:EmitSound(Fail, 70, 100)
else
p:FailMessage( HUD_PRINTTALK, "You Have Written an Incorrect Sound Please try another" )
end
else fail
p:PrintMessage( HUD_PRINTTALK, "Fail" )
end
end
fail
concommand.Add("rp_playfail", Fail)