SA-MP Forums Archive
Camera rotating - 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: Camera rotating (/showthread.php?tid=297801)



Camera rotating - oliverrud - 17.11.2011

What functions should I use to make a camera function so that I can set x,y,z that it should be viewing at while rotating 360 degrees around the point set?


Re: Camera rotating - MP2 - 17.11.2011

You can't really move cameras in sa:mp. (anyone suggesting that you use timers is stupid)


Re: Camera rotating - DRIFT_HUNTER - 18.11.2011

Quote:
Originally Posted by MP2
Посмотреть сообщение
You can't really move cameras in sa:mp. (anyone suggesting that you use timers is stupid)
Why?
You can test it live (just read video description on *******)

By the way use timer that will set player camera each ~100ms
[ame]http://www.youtube.com/watch?v=a1GaZ7fPRrA[/ame]


Re: Camera rotating - MP2 - 18.11.2011

1. It's going to cause lag issues when you have 500 players.
2. It's laggy.
3. It's inefficient.


Re: Camera rotating - DRIFT_HUNTER - 18.11.2011

Quote:
Originally Posted by MP2
Посмотреть сообщение
1. It's going to cause lag issues when you have 500 players.
2. It's laggy.
3. It's inefficient.
1.Its not timer that run NON STOP | 5 players + 10(NPC)connected in interval of 10sec for test and no lag at all
2.connect to server and check how much it lag
3.Indeed...but isn't it unique and flashy?