SA-MP Forums Archive
Freeze Cam - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Freeze Cam (/showthread.php?tid=394125)



Freeze Cam - Glad2BeHere - 21.11.2012

Is There A Way To Freeze A Player Camera like if do a command it gets a screen views the player current standing position shows the screen kinda like spec but if the player moves it does not show that it just shows the player last position


Re: Freeze Cam - Scott Zulkifli - 21.11.2012

like spec someone?


Re: Freeze Cam - JaKe Elite - 21.11.2012

Show's last position?

You mean like player's position will be the camera position?


Re: Freeze Cam - Glad2BeHere - 21.11.2012

Okay your standing at point "0,0,0" it gets u @ position xyz but if u move to ".1,0,0" it doesnt follow u when u move so the player screen sees the player @ "0,0,0" and not at ".1,0,0"

understand


Re: Freeze Cam - JaKe Elite - 21.11.2012

Here is an example

pawn Код:
CMD:camerait(playerid, params[])
{
     new Float:X, Float:Y, Float:X, Float:Angle;
     GetPlayerPos(playerid, X, Y, Z);
     GetPlayerFacingAngle(playerid, Angle);
     SetPlayerCameraPos(playerid, X, Y, Z);
     SetPlayerCameraLookAt(playerid, 0.0, 0.0, 0.0, Angle);
     return 1;
}
Will set camera pos to player's position.
And will look at direction, X: 0, Y: 0, Z: 0, Angle: Player's angle.


Re: Freeze Cam - Glad2BeHere - 21.11.2012

not like Romel its like /spec but without the following

Like taking a screen shot; if im lets say and lv pd and i type /fcam

its your xyz and you decide to come to lvpd, once i am in fcam i still see you @ position xyz and not lspd is that possible to do or
the crazy thing would be to set the playerid pos to target pos in a different virtual world and the same skin