19.06.2013, 20:28
My question is a bit theoretical. What would be more efficient?
Using "if (bool:usuallyfalse && GetPVarInt(playerid, "bar") > 0)"
or
Does an IF statement, check both statements when called? or does it check one after the other?
If it checks both, the second version will be more efficient. If it checks one after the other, the first version will be.
Using "if (bool:usuallyfalse && GetPVarInt(playerid, "bar") > 0)"
or
Код:
if (bool:usuallyfalse){ if(GetPVarInt(playerid, "bar") > 0){
If it checks both, the second version will be more efficient. If it checks one after the other, the first version will be.