22.04.2012, 19:02
I got a Question.
some people told me that it would be faster if you script like this:
than this:
So far i always thought, that the compiler would always optimize stuff like that, so it shouldnt make any difference.
some people told me that it would be faster if you script like this:
PHP код:
if(IsPlayerConnected(playerid)){SendClientMessage(playerid,COLOR_RED, "Textmessage");return 1;}
PHP код:
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid,COLOR_RED, "Textmessage");
return 1;
}