[Ajuda] Erro. Camera 1 pessoa
#3

Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
pawn Код:
stock CameraPrimeira(playerid,type)
{
    if(type == 0)
    {
        SetCameraBehindPlayer(playerid);
        DestroyObject(firstperson[playerid]);
    }
    else if(type == 1)
    {
        firstperson[playerid] = CreateObject(19300, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        AttachObjectToPlayer(firstperson[playerid],playerid, 0.0, 0.27, 0.7, 0.0, 0.0, 0.0);
        AttachCameraToObject(playerid, firstperson[playerid]);
    }
    return 1;
}
Nгo entendi o
pawn Код:
stock CameraPrimeira(playerid,type)
{
    if(type == 0)
    {
        SetCameraBehindPlayer(playerid);
        DestroyObject(firstperson[playerid]);
    }
    else if(type == 1)
    {
        firstperson[playerid] = CreateObject(19300, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        AttachObjectToPlayer(firstperson[playerid],playerid, 0.0, 0.27, 0.7, 0.0, 0.0, 0.0);
        AttachCameraToObject(playerid, firstperson[playerid]);
    }
    return 1;
}
Obs: Nem sei oque e stock, So quero que me passem o codigo completo sem erro.
Reply


Messages In This Thread
Erro. Camera 1 pessoa - by TorresPutado - 04.08.2013, 15:14
Re: Erro. Camera 1 pessoa - by Don_Speed - 04.08.2013, 15:25
Respuesta: Re: Erro. Camera 1 pessoa - by TorresPutado - 04.08.2013, 15:29
Re: Respuesta: Re: Erro. Camera 1 pessoa - by [A]rray - 04.08.2013, 15:32
Respuesta: Re: Respuesta: Re: Erro. Camera 1 pessoa - by TorresPutado - 04.08.2013, 15:37
Respuesta: Erro. Camera 1 pessoa - by TorresPutado - 04.08.2013, 19:51
Re: Respuesta: Erro. Camera 1 pessoa - by Don_Speed - 04.08.2013, 20:08

Forum Jump:


Users browsing this thread: 2 Guest(s)