04.03.2012, 11:40
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" );
}
}
}
}