Moving Camera from Point A to Point B
#1

Hey!

Basically I have been searching for one hour "how to move a camera(like, flying with just a camera, but from specific points) from Point A(x,y,z) to Point B(x,y,z), on the Connect (where you login,register) screen"

(Yes the NPC is connected, NPC name: onconnectfly)
pawn Код:
public OnPlayerConnect(playerid)
{
    new stringid[44];
    format(stringid, sizeof(stringid), "onconnectfly");
    TogglePlayerSpectating(playerid, 1);
    PlayerSpectatePlayer(playerid, stringid);
    return 1;
}
My idea: Having a NPC path, that you spectate but you put yourself in another virtual world so you can't see the NPC, so you just fly around on a specific path.

The problem: I can't get it to work, it gives me an error : error 035: argument type mismatch (argument 2) (on the line of PlayerSpectatePlayer)

Any help

EDIT: Of course if there is any other way to do what I want, it would be veeeery appreciated. Because the NPC going through my login system is bugging me haha
Reply


Messages In This Thread
Moving Camera from Point A to Point B - by anumaz - 18.03.2011, 00:41
Re: Moving Camera from Point A to Point B - by maramizo - 18.03.2011, 01:13
Re : Moving Camera from Point A to Point B - by anumaz - 18.03.2011, 01:43
Re: Moving Camera from Point A to Point B - by antonio112 - 18.03.2011, 01:50
Re: Moving Camera from Point A to Point B - by maramizo - 18.03.2011, 01:51
Re: Moving Camera from Point A to Point B - by antonio112 - 18.03.2011, 02:12
Re: Moving Camera from Point A to Point B - by iggy1 - 18.03.2011, 02:25

Forum Jump:


Users browsing this thread: 3 Guest(s)