only moving for player with id 0
#4

pawn Код:
forward Tolls();

public Tolls()
{
    for ( new i = 0; i != MAX_PLAYERS; ++i )
    {
        if ( IsPlayerInRangeOfPoint( i, 10.0, 1961.6999511719, -2190, 13.10000038147 ) )
        {
            if ( GetPlayerSkin( i ) == 253 || GetPlayerSkin( i ) == 255 )
            {
                MoveDynamicObject( bus, 1961.6999511719, -2189.8000488281, 11.5, 2.5 );
                SetTimerEx( "Close", 7000, false, "i", 0 );
            } else {
                SendClientMessage( i, Message_color, "you are not a bus or taxi driver" );
            }
        }
    }
}
Reply


Messages In This Thread
only moving for player with id 0 - by [LHT]Bally - 04.03.2012, 11:35
Re: only moving for player with id 0 - by SpiritEvil - 04.03.2012, 11:38
Re: only moving for player with id 0 - by Twisted_Insane - 04.03.2012, 11:39
Re: only moving for player with id 0 - by T0pAz - 04.03.2012, 11:40
Re: only moving for player with id 0 - by [LHT]Bally - 04.03.2012, 11:41
Re: only moving for player with id 0 - by SpiritEvil - 04.03.2012, 11:42
Re: only moving for player with id 0 - by [LHT]Bally - 04.03.2012, 11:43
Re: only moving for player with id 0 - by SpiritEvil - 04.03.2012, 11:45
Re: only moving for player with id 0 - by T0pAz - 04.03.2012, 11:46
Re: only moving for player with id 0 - by [LHT]Bally - 04.03.2012, 11:46

Forum Jump:


Users browsing this thread: 1 Guest(s)