07.12.2009, 09:56
on top: #pragma tabsize 0
new CheckpointtrainLS[MAX_PLAYERS];
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerNPC(playerid))
{
if(CheckpointtrainLS[playerid] == 1)
{
GameTextForAll("A train has arrived at Los Santos Railway Station.", 7500, 5);
}
return 1;
}
else if(!IsPlayerNPC(playerid))
{
GameTextForPlayer(playerid,"This Checkpoint is used for trains!", 7500, 5);
return 0;
}
return 1;
}
were is the line 30?
new CheckpointtrainLS[MAX_PLAYERS];
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerNPC(playerid))
{
if(CheckpointtrainLS[playerid] == 1)
{
GameTextForAll("A train has arrived at Los Santos Railway Station.", 7500, 5);
}
return 1;
}
else if(!IsPlayerNPC(playerid))
{
GameTextForPlayer(playerid,"This Checkpoint is used for trains!", 7500, 5);
return 0;
}
return 1;
}
were is the line 30?