Error in script??!
#2

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?
Reply


Messages In This Thread
Error in script??! - by DJDhan - 07.12.2009, 08:35
Re: Error in script??! - by ft941 - 07.12.2009, 09:56
Re: Error in script??! - by DJDhan - 07.12.2009, 10:29

Forum Jump:


Users browsing this thread: 2 Guest(s)