SORK>Soxxml Posted February 8, 2019 Posted February 8, 2019 (edited) hello guys, which function i need to use to teleport anyone to me if he riding vehicle because i need to destroy the vehicle first if i want to warp him to me. Edited February 8, 2019 by SORK>Soxxml
Moderators Patrick Posted February 8, 2019 Moderators Posted February 8, 2019 You need to change vehicle's position what use the player. Use this function to get the player's vehicle: https://wiki.multitheftauto.com/wiki/GetPedOccupiedVehicle 1
Master_11 Posted February 8, 2019 Posted February 8, 2019 1 hour ago, stPatrick said: You need to change vehicle's position what use the player. Use this function to get the player's vehicle: https://wiki.multitheftauto.com/wiki/GetPedOccupiedVehicle That to check if the player is in a vehicle or not and use this to teleport the player to you. https://wiki.multitheftauto.com/wiki/SetElementPosition 1
Mr.Loki Posted February 8, 2019 Posted February 8, 2019 GetPedOccupiedVehicle RemovePedFromVehicle SetElementPosition In that order. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now