Class Selection Camera
#2

why not put that camera movement stuff in side an if statement?

for example, the player connects to your server, you set some var "firstrun = 1" after your camera stuff (or use some already existing var temporary for just that purpose which is more resource friendly)

and once disconnected or spawned, you set it to 0

should look like

PHP Code:
if(firstrun[playerid] == 1)
{
InterpolateCameraPos(playerid1467.488403, -1620.84997543.8853951481.209350, -1758.46655219.1015478000);
InterpolateCameraLookAt(playerid1468.074707, -1625.69091742.7799331481.169799, -1763.46374518.9395758000);

ya, well, something like that maybe
you mainly just need 2 make sure that these camera movements take place just once
Reply


Messages In This Thread
Class Selection Camera - by ZBits - 22.12.2013, 18:57
Re: Class Selection Camera - by CutX - 22.12.2013, 19:34
Re: Class Selection Camera - by ZBits - 22.12.2013, 19:45
Re: Class Selection Camera - by CutX - 22.12.2013, 19:54
Re: Class Selection Camera - by ZBits - 22.12.2013, 20:44

Forum Jump:


Users browsing this thread: 1 Guest(s)