24.09.2013, 16:30
lol
It's that easy that you can fix it yourself. Look an example:
AND
It's easy, isn't it?
Goto the lines and make sure the code is indented nicely!
EDIT: Wrong section, it should be in 'Scripting Help' section.
It's that easy that you can fix it yourself. Look an example:
pawn Код:
// Ban Indentation:
public OnPlayerSpawn( playerid )
{
GivePlayerWeapon( playerid, 24, 5000 );
GivePlayerWeapon( playerid, 34, 5000 );
GivePlayerWeapon( playerid, 31, 5000 );
GivePlayerWeapon( playerid, 26, 5000 );
return 1;
}
pawn Код:
// Good Indentation:
public OnPlayerSpawn( playerid )
{
GivePlayerWeapon( playerid, 24, 5000 );
GivePlayerWeapon( playerid, 34, 5000 );
GivePlayerWeapon( playerid, 31, 5000 );
GivePlayerWeapon( playerid, 26, 5000 );
return 1;
}
Goto the lines and make sure the code is indented nicely!
EDIT: Wrong section, it should be in 'Scripting Help' section.