Pedido
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new i;
    while( i++ < MAX_VEHICLES )
    {
        for( new j; j < MAX_PLAYERS; j++ )
        {
            if( IsPlayerInVehicle( j , i) && GetPlayerState( j ) == PLAYER_STATE_DRIVER )
            {
                new Float:pos[ 3 ];
                GetPlayerPos( playerid , pos[0] , pos[1] , pos[2] );
                SetPlayerPos( playerid , pos[0] , pos[1] , pos[2] + 1.5 );
            }
        }
    }
    return 1;
}
Crйditos: RockFire
Reply


Messages In This Thread
Pedido - by rugal - 16.08.2011, 22:10
Re: Pedido - by Macintosh - 16.08.2011, 22:37
Re: Pedido - by Shadoww5 - 16.08.2011, 22:39
Re: Pedido - by RockFire - 16.08.2011, 22:43
Re: Pedido - by rugal - 16.08.2011, 22:44
Re: Pedido - by [S]trong - 16.08.2011, 22:53
Re: Pedido - by Shadoww5 - 16.08.2011, 22:55
Re: Pedido - by rugal - 16.08.2011, 23:38
Re: Pedido - by RockFire - 16.08.2011, 23:42
Re: Pedido - by CyNiC - 16.08.2011, 23:46

Forum Jump:


Users browsing this thread: 1 Guest(s)