Plane flying over san andreas
#1

Wondered if anyone could help me script a plane that flies over San Andreas that people can eject out of anytime.
Reply
#2

Use MoveObject (assuming the plane is an object), set the player's camera on that plane object and get the object positions whenever he presses your desired eject button.
Reply
#3

I kinda just want to script the PUBG concept where the plane flies over the world and people eject out of the plane.

Would you suggest the Shamal interior or just the big cargo plane?
Reply
#4

you can create this with Object or as Vehicle, controlled by NPC.

if you want to create as plane object, you must use next funcs:
PHP код:
CreateObject // to create plane object.
MoveObject // to move this plane object.
AttachCameraToObject // for attach a camera to plane object or other objects.
GetObjectPos // for get the posotion of object to be ejected later. 
if you want to create as NPC controlled vehicle, you must RECORD this NPC mode.
Reply
#5

Thanks bud. Will try
Reply
#6

Can be done without NPC. Do without the need of NPC. Make use of OnPlayerKeyStateChange function. Use GivePlayerWeapon and key such as F or N/ Y.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)