Jump to content
  • 0

Ajut la camera


AlexxAdv

Question

Am facut un sistem, am pus asta la onplayerentercheckpoint

 

 if(CP[playerid] == 695)
    {
        InterpolateCameraPos(playerid, -2007.176025, -1386.531860, 132.113159, -2021.301635, -1536.977172, 140.783706, 4000);
        InterpolateCameraLookAt(playerid, -2007.677978, -1391.498168, 132.403274, -2021.573120, -1540.699340, 137.456344, 500);
        SetPlayerInterior(playerid,0);
        SetPlayerVirtualWorld(playerid, 0);
        TogglePlayerControllable(playerid, 1);
        TogglePlayerSpectating(playerid, 0);
        SCM(playerid, COLOR_WHITE, "Paramedicii au anuntat decesul! Tu trebuie sa transporti victima la cimitir");
        //SetTimerEx("HideCameraGropar", 5000, 0, "id", playerid);
    }

 

Bun si tot imi ramane pe camera, aveti idee? am pus toggle.. degeaba, tot imi ramane pe camera

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
7 hours ago, Diversity said:

cum adica iti ramane pe camera?

cum sa iti zic, imi ramane pe pozitiile pe care le vezi la interpolate adica nu ma da afara dupa, gen imi ramane ca la tutorial pe bugged asa la step 1/8 sa zic imi ramane pe plaja

Link to comment
Share on other sites

  • 0

Sa-ti explic cam cum ar trebui sa fie. Intra in checkpoint, il pui pe modul telespectator, muti camera, pui un timer sa acceseze o functie in care pui sal scoata din modul telespectator si ii aplici cum a spus si mai sus functia setcamerabehindplayer ca sa revina camera pe caracter. Sunt de pe teleton, nu iti iasa, o sa scriu mai diseara. 

EDIT: Si fi atent la secunde, muti camera in 10 secunde pui si timerul sa se acceseze intr un timp rezonabil. Succes!

Edited by andy47
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.