How do I make a free moving 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)
+--- Thread: How do I make a free moving camera? (
/showthread.php?tid=533664)
How do I make a free moving camera? -
Pawnify - 25.08.2014
How do I make a camera be able to move with my mouse. I've been trying, but I have yet to find a way to do it.
I want to be able to make it so I can set my camera somewhere, then let me be able to move my view around freely.
If anyone can help, I'd be appreciative.
Re: How do I make a free moving camera? -
MicroD - 25.08.2014
There's filterscript in default samp pack it's called "flymode".
In console write "loadfs flymode" (w/o ") and to activate in game type "/flymode" (w/o ")
Re: How do I make a free moving camera? -
Pawnify - 25.08.2014
Quote:
Originally Posted by MicroD
There's filterscript in default samp pack it's called "flymode".
In console write "loadfs flymode" (w/o ") and to activate in game type "/flymode" (w/o ")
|
Is there any way of getting this inside of my filterscript instead? Like an include or something.
Re: How do I make a free moving camera? -
IceCube! - 25.08.2014
You have function headers such as: OnGameModeInit...
Just copy and paste the code, from one function header to it's equivalent in the other filterscript. Make sure you indent your code properly, or you could fuck your mode up beyond belief.