01.03.2009, 22:36
Hi everyone!
I was wondering, which method is faster:
A
or B
?
Any hints appreciated
I was wondering, which method is faster:
A
pawn Код:
if(IsPlayerConnected(playerid) && strcmp(cmd, "/command", true) == 0)
{
//do stuff
}
pawn Код:
if(strcmp(cmd, "/command", true) == 0)
{
if(IsPlayerConnected(playerid))
{
//do stuff
}
}
Any hints appreciated

