03.10.2009, 22:20
Indent your code.
Example (this is very bad indented code):
Example (this is how your code should be indented):
It doesn't matter, script shouldn't have any warning or error.
Example (this is very bad indented code):
pawn Код:
public OnPlayerConnect(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && i != playerid)
{
MyFunction(i);
}
}
return 1;
}
pawn Код:
public OnPlayerConnect(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && i != playerid)
{
MyFunction(i);
}
}
return 1;
}
Quote:
|
Originally Posted by brett7
there just warnings not errors so it will compile fine
|

