Using this code:
pl:StripWeapons()
pl:Spectate( OBS_MODE_FIXED )
pl:SetMoveType( MOVETYPE_OBSERVER )
produces:
"mod_studio: MOVETYPE_FOLLOW with no model." being spammed in console
The problem is, it only occurs when a players weapons are stripped. Anybody have a clue of what's going on.
You are not supposed to set the MoveType.
[QUOTE=Robotboy655;41638960]You are not supposed to set the MoveType.[/QUOTE]
MOVETYPE_OBSERVER = 10 -- For players, when in observer mode.
"Whenever spectating an entity, be sure to set the player's movetype to MOVETYPE_OBSERVER."
Still occurs without setting the movetype.
I believe you must do Ply:SpectateEntity(ent) for that specific observer mode.
[editline]30th July 2013[/editline]
This code is working fine for me:
[code]ply:SpectateEntity( killer )
ply:Spectate( OBS_MODE_FREEZECAM )
[/code]
No movetypes, not strip weapons.
Sorry, you need to Log In to post a reply to this thread.