Give me all the boxes you want, but I need to know something. Is it okay to return end like this?
if ply.Credits <= 19 then PrintMessage( HUD_PRINTTALK, "Player "..ply:Nick().." doesn't have enough credits for the HK416. Cost: 20 credits; your credits: "..ply.Credits..". Sorry!" ) return end
I’ve seen most people return end like this:
if ply.Credits <= 19 then return end
Is it okay to return end the way I did in the code that has PrintMesage? Or would I put it on the same line, sort of like
if ply.Credits <= 19 then PrintMessage(HUD_PRINTTALK, "Test" ) return end
And yes, I have this in a function.