InterpolateCamera
#1

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); 
Reply
#2

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...
Reply
#3

Try using this before those lines:

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

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

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
Reply
#6

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

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
Reply
#8

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

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

This is what I have there...

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

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)