27.02.2010, 19:41
Help me, it works but when the player spawns then goes to the subway they teleport and get the "subway is busy" message, please help!
Quote:
|
Код:
else if(IsPlayerInRangeOfPoint(i, 1.0, 1685.9564,964.1009,10.7590))
{ // Four
if(IsInSubwayTrain[i] == false)
{ //2543.2554,-1306.0792,1025.0703
IsInSubwayTrain[i] = true;
SetPlayerPos(i, 1726.8531,960.1580,-66.2811);
MoveObject(monotrain, 1727.0046,-1054.0931,-66.5000, 30.00);//1725.5785
}
else if(IsInSubwayTrain[i] == true)
{
GameTextForPlayer(i, "~r~The subway is busy please wait", 5000, 4);
}
return 0; // End of the bracket Four
}
|




