SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 15/12/2015, 02:25 AM   #1
Ankon
Little Clucker
 
Join Date: May 2015
Posts: 37
Reputation: 0
Lightbulb Wish I could do it.

Hello guys. I am Ankon..I am a scripter and here to ask for suggestions on how to do the thing I will mention below.
I am making a rp server and making it an unique one.
When someone logs into the server and the two direction buttons and spawn button shows up, I want to make the camera something like this.. From camera I mean the background picture that shows when we are changing teams in tdm servers. We know at the top of the sky there is a plane always flying? So how can I set my camera inside of that plane so that I can see partially the plane's window and see the blue sky.
I am trying to do this because in my rp server I want to give them a feeling that they are landing in los santos airport and their life would now begin.
So want to show a plane's interior and window when the two direction and a spawn button appears.
Hope someone can suggest me how to.
Thanks
And Merry Christmas..
__________________
Ankon is offline   Reply With Quote
Old 15/12/2015, 02:44 AM   #2
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,198
Reputation: 229
Default Re: Wish I could do it.

For camera you need to create some object (there are few invisible in gta) and attack camera to it. And player will be able to move camera around. And as for interior/exterior view, only way i see it is to map plane interior with actual window so you can see sky...

If you ask me, i would create passenger plane object. Create invisible object next it, and attack camera to that object. Than i would move both objects, and force player to always look at the same position. (I cant remember how but i know you can find it on wiki somewhere)
DRIFT_HUNTER is offline   Reply With Quote
Old 15/12/2015, 03:47 AM   #3
Ankon
Little Clucker
 
Join Date: May 2015
Posts: 37
Reputation: 0
Default Re: Wish I could do it.

thanks for that suggestion.
Anyone have any suggestions in scripting language?
I mean in codes...
__________________
Ankon is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 02:36 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.