I have a question.
#9

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
Really? Lmfao. And why exactly shouldn't he waste more lines to get a clear looking code?
A clear looking code, 2 brackets, 1 return, for what? Sending a simple message.

If you think this:

pawn Код:
if (Player[playerid][AccountLevel] < 3) return bla bla;
It's worst than this:

pawn Код:
if (Player[playerid][AccountLevel] < 3)
{
    return bla bla;
}
Are your tastes. However i prefer the first. especially when you have a lot of checks. No need to seriously waste 3 lines....but again, tastes.
Reply


Messages In This Thread
I have a question. - by murilo2929 - 28.10.2018, 16:16
Re: I have a question. - by d3Pedro - 28.10.2018, 17:47
Re: I have a question. - by KinderClans - 28.10.2018, 21:01
Re: I have a question. - by TheToretto - 28.10.2018, 21:16
Re: I have a question. - by RogueDrifter - 28.10.2018, 21:22
Re: I have a question. - by TheToretto - 28.10.2018, 21:38
Re: I have a question. - by murilo2929 - 28.10.2018, 21:41
Re: I have a question. - by RogueDrifter - 28.10.2018, 22:10
Re: I have a question. - by KinderClans - 28.10.2018, 22:30
Re: I have a question. - by d3Pedro - 29.10.2018, 03:47

Forum Jump:


Users browsing this thread: 5 Guest(s)