SA-MP Forums Archive
InterpolateCamera - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: InterpolateCamera (/showthread.php?tid=632575)



InterpolateCamera - Melktert - 16.04.2017

Wherever I put this it doesn't seem to work, I've tried putting it below OnPlayerConnect..

PHP код:
           InterpolateCameraPos(playerid825.591552, -1397.21057166.9398651559.048339, -1753.62451164.35618515000);
        
InterpolateCameraLookAt(playerid829.964477, -1399.63476566.9086151555.941162, -1750.46655262.0382842000); 



Re: InterpolateCamera - JustNothing - 16.04.2017

Quote:
Originally Posted by Melktert
Посмотреть сообщение
Wherever I put this it doesn't seem to work, I've tried putting it below OnPlayerConnect..

PHP код:
           InterpolateCameraPos(playerid825.591552, -1397.21057166.9398651559.048339, -1753.62451164.35618515000);
        
InterpolateCameraLookAt(playerid829.964477, -1399.63476566.9086151555.941162, -1750.46655262.0382842000); 
Код HTML:
TogglePlayerSpectating(playerid, true);
before using interpolate...


Re: InterpolateCamera - DarkSkull - 16.04.2017

Try using this before those lines:

PHP код:
TogglePlayerSpectating(playerid1); 
EDIT: Didn't see JustNothings post. Bascially the same thing


Re: InterpolateCamera - Melktert - 16.04.2017

I want it to happen when they register/login, where do I put it then?


Re: InterpolateCamera - JustNothing - 16.04.2017

Quote:
Originally Posted by Melktert
Посмотреть сообщение
I want it to happen when they register/login, where do I put it then?
where register/login starts? lol


Re: InterpolateCamera - Melktert - 16.04.2017

When the register or login dialog pops up, the camera should start moving? What don't you understand?


Re: InterpolateCamera - JustNothing - 16.04.2017

Quote:
Originally Posted by Melktert
Посмотреть сообщение
When the register or login dialog pops up, the camera should start moving? What don't you understand?
if you put not where login/register starts camera wont start moving lol. as southclaw said not possible to move player's camera after OnPlayerConnect so write your login/register code after OnPlayerRequestClass


Re: InterpolateCamera - Melktert - 16.04.2017

Not to be rude or anything but, I'd rather wait for someone with better grammar to reply.


Re: InterpolateCamera - ISmokezU - 16.04.2017

He's Clearly telling you something good and you're being vacuous.


Re: InterpolateCamera - Melktert - 16.04.2017

This is what I have there...

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
SetTimerEx("Spawn"10false"i"playerid);
    return 
1;