I have a question.
#6

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
Really? Lmfao. And why exactly shouldn't he waste more lines to get a clear looking code?
Well... An if or else statement can be used without "{ }" if it has just one line, so I believe this form:

PHP код:
if(!IsPlayerAdmin(playerid))
    return 
SendClientMessage(playerid, -1"Insufficient permissions."); 
is neater than this one:

PHP код:
if(!IsPlayerAdmin(playerid))
{
    return 
SendClientMessage(playerid, -1"Insufficient permissions.");

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: 4 Guest(s)