[AJUDA]Portao Buzina
#2

tenta assim:
pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
    if(IsPlayerInRangeOfPoint(playerid,10,X,Y,Z)) // X Y Z = Coordenadas aonde o portгo fica, ou onde tu quer que a busina funfe
    {
        if(IsPlayerInAnyVehicle(playerid) && newkeys == KEY_CROUCH)
        {
            MoveObject(ID, X, Y, Z, 6); //ID do objeto X Y Z = coordenadas para mover o objeto
            return 1;
        }
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA]Portao Buzina - by LuC4z - 09.10.2011, 01:23
Re: [AJUDA]Portao Buzina - by Dolby - 09.10.2011, 01:26
Re: [AJUDA]Portao Buzina - by WLSF - 09.10.2011, 01:27
Re: [AJUDA]Portao Buzina - by ceesar90 - 09.10.2011, 01:28
Re: [AJUDA]Portao Buzina - by Josma_cmd - 09.10.2011, 01:30
Re: [AJUDA]Portao Buzina - by MatriXBorn - 09.10.2011, 17:33
Re: [AJUDA]Portao Buzina - by DreeH - 09.10.2011, 18:01

Forum Jump:


Users browsing this thread: 2 Guest(s)