SA-MP Forums Archive
[HELP]Security camera. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Security camera. (/showthread.php?tid=80044)



[HELP]Security camera. - KeyWay - 01.06.2009

Hey guys!

I made a scurity camera script and now when i do at PlayerToPoint(LSPD) for example /camera1 it does these:
Quote:

camera[playerid]=1;
TogglePlayerControllable(playerid, 0);
SetPlayerInterior(playerid,0);
SetPlayerCameraPos( playerid, 1506.1291, -1619.4218, 28.9907 );
SetPlayerCameraLookAt( playerid, 1514.7668, -1622.3961, 24.9233 );

But the quality is very very very VERY poor, because im not near of that?
Do i need to SetPlayerPos to near that camera position? I really dont want that...
And btw now when that sets players interior to 0, will the player be invisible to others?

Maybe there is other way to make this working?




Re: [HELP]Security camera. - MenaceX^ - 01.06.2009

There's an in-game camera system, it's awesome. I myself used it until I made my own.
Use this, I recommend, very easy to use.


Re: [HELP]Security camera. - KeyWay - 01.06.2009

Quote:
Originally Posted by MenaceX^
There's an in-game camera system, it's awesome. I myself used it until I made my own.
Use this, I recommend, very easy to use.
Use what?


Re: [HELP]Security camera. - HB - 02.06.2009

Try searching for it. =>Sandra<= made a system.


Re: [HELP]Security camera. - woot - 02.06.2009

You also need to SetPlayerPos, set him close to the camera.


Re: [HELP]Security camera. - Ignas1337 - 02.06.2009

that is needed to avoud low quality renders with the LoD very low ;P


Re: [HELP]Security camera. - KeyWay - 02.06.2009

Quote:
Originally Posted by //exora
You also need to SetPlayerPos, set him close to the camera.
damn.. well thanks anyway


Re: [HELP]Security camera. - Ignas1337 - 02.06.2009

you can use same params use offset the to the camera and freeze so he doesn't fall.


Re: [HELP]Security camera. - KeyWay - 02.06.2009

Quote:
Originally Posted by Thanatos
you can use same params use offset the to the camera and freeze so he doesn't fall.
Yeah, but i made for LSPD own Security camera room, where they can guard places via screens... but its really stupid if you go check the screen with your friend, and you want to check for example 24/7 store, then you /camera and POOF youre gone...

It could be great if it make like copy of you to stay at camera room so other can see that you are guarding ;P