Question!!!!!! Confused :\
#5

pawn Код:
if(Some Code)
{
    Something;
    return 1;
}
is not the same as

pawn Код:
if(Some Code) return Something;
The first one will always return 1 but the second one will return whatever "Something" returns. If "Something" is this, then it will return 231:

pawn Код:
Something()
{
    return 231;
}
which would make it equal to

pawn Код:
if(Some Code)
{
    Something;
    return 231;
}
Reply


Messages In This Thread
Question!!!!!! Confused :\ - by AnonScripter - 23.02.2014, 17:22
Re: Simple Question!!!!!! Confused :\ - by newbienoob - 23.02.2014, 17:24
Re: Simple Question!!!!!! Confused :\ - by AnonScripter - 23.02.2014, 17:30
Re: Question!!!!!! Confused :\ - by Scenario - 23.02.2014, 17:49
Re: Question!!!!!! Confused :\ - by SuperViper - 23.02.2014, 18:07

Forum Jump:


Users browsing this thread: 3 Guest(s)