[FilterScript] Cвmera em Primeira Pessoa (Fora do veiculo)
#7

pawn Код:
stock CameraPrimeira(playerid,type)
{
    if(type == 0)
    {
        SetCameraBehindPlayer(playerid);
        DestroyObject(firstperson[playerid]);
    }
    else if(type == 1)
    {
        CancelSelectTextDraw(playerid);
        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 type;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)