Hello. i want to know is here any difference if i check everything in one line or in two?
here is example
Code:
public FW_PlayerPreThink(id)
{
if (!is_user_alive(id)) return PLUGIN_CONTINUE
if (zp_get_user_zombie(id)) return PLUGIN_CONTINUE
...
Code:
public FW_PlayerPreThink(id)
{
if (!is_user_alive(id) || !zp_get_user_zombie[id]) return PLUGIN_CONTINUE
...
if everything are in one line is they checked allways, or only if first checks fails?
which one of above examples is better by performance side? Or they both are same?