PlayerCameraPos
#1

How can I set Camera Positing near player's foot, looking towards sky? I tried this (don't roll your eyes haha)

pawn Код:
if(strcmp(cmd, "/test", true) == 0)
    {
        new X,Y,Z;
        GetPlayerPos(playerid, Float:X,Float:Y,Float:Z);
        SetPlayerCameraPos(playerid,X,Y,0);
        SetPlayerCameraLookAt(playerid, X,Y,Z+10);
        return 1;
    }
To be honest I didn't know what I did but when I tested it my samp was lagging and some strange effects was going on hahah... so how should I place camera near player foot looking up towards sky?
Reply


Messages In This Thread
PlayerCameraPos - by Lajko1 - 17.11.2013, 19:22
Re: PlayerCameraPos - by Lajko1 - 17.11.2013, 20:43
Re: PlayerCameraPos - by [D]ry[D]esert - 18.11.2013, 00:11
Re: PlayerCameraPos - by Lajko1 - 18.11.2013, 11:42
Re: PlayerCameraPos - by Lajko1 - 18.11.2013, 16:47
Re: PlayerCameraPos - by Lajko1 - 18.11.2013, 22:55

Forum Jump:


Users browsing this thread: 2 Guest(s)