HG Snuuk Posted September 7, 2019 Posted September 7, 2019 Opa tudo bom , tou fazendo aki um ped porem ele quando eu dou true no frozen ele fica virado pra rotação 0 , só quando eu dou false que ele vai para rotação correta que seria 180° . teria algum geito de resolver porque se eu não dou frozen ele fica dando tp local agenciaPed = createPed(240, 246.7, 120.4, 1003.3) setElementInterior(agenciaPed, 10) setElementDimension(agenciaPed, 0) setPedRotation(agenciaPed, 180) setElementFrozen(agenciaPed,true) function Cancel_Damage () cancelEvent() end addEventHandler("onClientPedDamage", agenciaPed, Cancel_Damage) sou muito burro depois que eu parei pra pensar um pouco tentei fazer colocar a rotação dps da posição "z" e funcionou .
Other Languages Moderators Lord Henry Posted September 7, 2019 Other Languages Moderators Posted September 7, 2019 Que bom que resolveu sozinho seu problema. Pros que não entenderam, é só colocar a rotação do personagem direto ao criar ele, depois daquele 1003.3 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