• Animation Taunt Camera
    6 replies, posted
So, in Sandbox if you do 'act bow' ( for example ) in console it will put you into third person and then do the animation. It also makes you unable to move. How would i change this so it does the animation but i can still move and it doesn't change my camera?
EXACTLY like that! I've dissected DarkRP and not seen anything resembling as to how to do it!
I GOT IT! Nevermind thanks for your time tho!
You know you can post the solution and help anyone in the future right?
All i did was: SERVER SIDE: util.AddNetworkString( "GIMME_MY_ANIMS" ) function GM:PlayerShouldTaunt( ply, actid ) net.Start( "GIMME_MY_ANIMS" ) net.WriteString( tostring(actid) ) net.WriteEntity( ply ) net.Broadcast() return false end And Client Side: net.Receive( "GIMME_MY_ANIMS", function()local act = tonumber(net.ReadString()) local ply = net.ReadEntity() ply:AnimRestartGesture( GESTURE_SLOT_CUSTOM, act, true ) end )
You should use net.WriteInt instead of sending a string.
Sorry, you need to Log In to post a reply to this thread.