18.03.2011, 00:41
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)
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
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;
}
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