Jump to content

Ajuda


Recommended Posts

Estou fazendo um sistema para quando o policial bater no player que ele segue ou mesmo quando o policial entra na viatura que ele pro porta, então aquele jogador que está girando de acordo com o movimento do vtr, alguém sabe como deixar ele congelado 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

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...