08.02.2011, 15:39
Why do some scripters put ALOT of spaces in their code? xD, I always wanted to know that!
if ( sscanf ( params, "u", id ) )
return SendClientMessage ( playerid, 0xAAAAAA, "Message" );
if(sscanf(params, "u", id))
return SendClientMessage(playerid, 0xAAAAAA, "Message");
It's easy to read, looks neater to me also, I format my code always like that when I'm writing a samp script. When I write something for c# or c++ (visual IDE) I don't as it formats for me but when writing some code in an editor which doesn't auto format then it will look like that.
It's just a style like indentation, everyone has thier own, like you put spaces between your parameters. |
if(ble==1){
...
}
if(ble==2)
{
...
}
public Something(sthing) {
for(new i; i < MAX_PLAYERS; i++) {
DoSomethin
}
return true;
}
public Something(sthing)
{
for(new i; i < MAX_PLAYERS; i++)
{
DoSomethin
}
return true;
}