MRXBBC Posted September 29, 2019 Share Posted September 29, 2019 Estou fazendo um sistema pra quando o policial bater no player ele segue o mesmo e quando o policial entrar na viatura ele ir pro porta mala, só que o player ta girando de acordo com o movimento da vtr, alguem sabe como deixar ele freezado lá dentro? function Teleport_Cap_Vei ( state, player , vehicle , seat ) if state == true then if seat and isElement ( vehicle ) then vrx, vry, vrz = getElementRotation(vehicle) setElementRotation(player, vrx, vry, vrz+83) attachElements (player, vehicle, 0.2, -1.5, 0, 0,0,90) setPedAnimation (player, 'ped','CAR_dead_LHS') setElementData ( player, "Policia:Captura", false ) setElementData(player, "Mrx_Preso", true) Link to comment
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