25.06.2015, 21:48
I don't think that removing { } would optimize your code, it might make it 'look' better for some people however, I think it doesn't affect that much in performance. Moreover, some people find this a cause for confusion due to you can remove the { } once there's one operation/function whatever to be done. For instance,
This is not a must!
pawn Code:
if(Carlos == "good")
foreach(new i : Player)
{
SendClientMessage(i, -1, "CARLOS IS GOOD!");
}