Jump to content

On Join Plane and Login Panel


Captain Cody

Recommended Posts

Posted (edited)

How would I make it so when some one first joins they fly in on an Npc Driven At-400 Into LS air port then it says Welcome to BoD and Shows Login Panel And then after the persons first join it will only show admin panel

Edited by Guest
Posted

Ok I changed topic name I just need to know how to make it so when someone first joins An Npc driven plane will fly in with the person on board then it will Fade out to a black screen with Welcome to BoD for a few secounds then show Login panel

Posted

on client resource started check is player join the server first time, which I have give you a example above

if so, create a AT-400

local plane = createVehicle( id, x,y,z) -- create a AT-400

--create a camera to plane

cam = getCamera()

setElementPosition( cam, 0,0,0 ) -- Clear camera target

attachElements( cam, plane , 0,-4,2, -20,0,0 ) -- set camera focus on the plane

-- let the plane fly

local origX, origY, origZ = getElementPosition ( plane ) --get the origanal position

local newZ = origZ + 100 -- make a new z position, so on for x,y

moveObject ( theObject, 10000, newX, newY, newZ ) --move the object to this position in 10 seconds.

the camera will focus on the plane when the plane is flying. after that you can set a 10s timer to destory all of those elements and shows up your login panel.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...