if and else if
#1

I really did't understand the difference between if and else if
Can anyone explain and should I put inside else if code return 1;
I mean
Код:
else if(PlayerData[playerid][Member] == 1)
{
 code
 return 1;
}
or
else if(PlayerData[playerid][Member] == 1)
{
 code
 without retrun 1;
}
Reply


Messages In This Thread
if and else if - by zerowhz - 01.12.2013, 20:27
Re: if and else if - by Konstantinos - 01.12.2013, 20:35
Re: if and else if - by whatthefuck123 - 01.12.2013, 23:46

Forum Jump:


Users browsing this thread: 1 Guest(s)