Help please Im new
#7

pawn Код:
forward checkup();
public checkup()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i)) continue;
        if(IsPlayerInRangeOfPoint(i, 1.0, 256.9511,1802.0492,7.5494))
        {  
            SetPlayerPos(i,2543.2554,-1306.0792,1025.0703 );
            SetPlayerInterior(i, 2);
        }
        else if(IsPlayerInRangeOfPoint(i, 1.0, 1685.9564,964.1009,10.7590))
        {
            if(IsInSubwayTrain[i] == false)
            {
                SetPlayerPos(i, 1724.4769,967.7141,-9.9418);                    //2543.2554,-1306.0792,1025.0703
                SetPlayerCameraPos(i, 1656.7042,955.3563,10.6858);
                SetPlayerCameraLookAt(i, 1704.0181,936.4391,26.2154);
                SetTimer("subcam",3000,false);
            }
            else if(IsInSubwayTrain[i] == true)
            {
                GameTextForPlayer(i, "Subway is busy", 6000, 1);
            }
        }
        else if(IsPlayerInRangeOfPoint(i, 1.0, 200.1324,1869.4989,13.1470))
        {
            SetPlayerPos(i, -1461.6171,941.2867,1036.6367);
            SetPlayerInterior(i, 15);                                           //2543.2554,-1306.0792,1025.0703
        }
        else if(IsPlayerInRangeOfPoint(i, 1.0, 1685.9564,964.1009,19.7590))
        {
            SetPlayerPos(i,2543.2554,-1306.0792,1025.0703 );
        }
    }
}
Reply


Messages In This Thread
Help please Im new - by Nickg - 20.02.2010, 09:42
Re: Help please Im new - by [LSR]State_Trooper - 20.02.2010, 09:45
Re: Help please Im new - by smeti - 20.02.2010, 09:53
Re: Help please Im new - by Virtual1ty - 20.02.2010, 09:54
Re: Help please Im new - by Nickg - 20.02.2010, 09:57
Re: Help please Im new - by Nickg - 20.02.2010, 09:58
Re: Help please Im new - by smeti - 20.02.2010, 10:00
Re: Help please Im new - by Virtual1ty - 20.02.2010, 10:01

Forum Jump:


Users browsing this thread: 1 Guest(s)