Faster?
#1

Hi everyone!

I was wondering, which method is faster:

A
pawn Код:
if(IsPlayerConnected(playerid) && strcmp(cmd, "/command", true) == 0)
{
    //do stuff
}
or B
pawn Код:
if(strcmp(cmd, "/command", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        //do stuff
    }
}
?

Any hints appreciated
Reply


Messages In This Thread
Faster? - by Zoopaman - 01.03.2009, 22:36
Re: Faster? - by Snyper18 - 01.03.2009, 23:16
Re: Faster? - by 1337pr0 - 02.03.2009, 00:07
Re: Faster? - by Daren_Jacobson - 02.03.2009, 00:55
Re: Faster? - by Damon_Black - 02.03.2009, 01:02
Re: Faster? - by ICECOLDKILLAK8 - 02.03.2009, 01:20
Re: Faster? - by Damon_Black - 02.03.2009, 01:25
Re: Faster? - by 1337pr0 - 02.03.2009, 03:21
Re: Faster? - by Damon_Black - 02.03.2009, 11:47
Re: Faster? - by Nubotron - 02.03.2009, 12:03
Re: Faster? - by Damon_Black - 02.03.2009, 12:08
Re: Faster? - by Nubotron - 02.03.2009, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)