Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot General Programming How to enter a crane in SA-MP?

 
  • 0 Vote(s) - 0 Average
How to enter a crane in SA-MP?
jdefgh
Offline

Burgershot Member
Posts: 1
Threads: 1
Joined: Feb 2021
Reputation: 0
Location: Wrocław, Poland
#1
2021-02-19, 01:19 PM
How do enter or put a player in the Import/Export crane? I wanted to make a filterscript for Exports and Imports, but i have no idea how to enter it.
Because normally, there was a red spot where you could enter the crane, but i can't find a way to replicate it.
The crane is not a vehicle, so i can't just get its id and put the player in it. There should be a way to enter it.

Do i have to reinvent the wheel, or there's a way to put player in a crane?
LaszloR1
Offline

Bench racer

Posts: 55
Threads: 2
Joined: Apr 2019
Reputation: 3
#2
2021-02-19, 04:25 PM (This post was last modified: 2021-02-19, 04:26 PM by LaszloR1.)
Hi! You will have to do this manually yourself, sadly there is no easy way like in Single Player. I suggest you look into MoveObject and its related functions, also SetPlayerCameraPos, SetPlayerCameraLookAt and their related functions too.

NiCe made this a while back for his server:
[Video: https://www.youtube.com/watch?v=oOVp9leMoNc]
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode