PDA

View Full Version : CSGO I want to fixed player angle on his deathbody


rsdtt
11-16-2014, 09:33
I try this

SetEntPropEnt(client, Prop_Send, "m_hObserverTarget", -1)
SetEntProp(client, Prop_Send, "m_iObserverMode", 6)
TeleportEntity(client, g_playerdeathpoint[client], NULL_VECTOR, NULL_VECTOR)

every frame and return Plugin_Handled on OnPlayerRunCmd

But use slot1.2.3...can move player angle to other player view and cant return to the deathpoint again.
So, I use CreatePanel to prevent this slot, but!!!
+jump still move player angle to other player without move! And it cant return to the deathpoint again too!!!

Why the OnPlayerRunCmd return Plugin_Handled are not work on death IN_JUMP?

I think, maybe there is a camera entity?

rsdtt
11-16-2014, 10:53
mp_forcecamera 2
can stop use +jump when death, but it will make dark screen sometime, so can I remove the dark screen?