I have been working on a gamemode for a while now and noticed since the last update DModelPanel’s are not working properly on multiplayer servers. Their animations run in reverse and they don’t display a normal walking animation. They work fine in single player. I tested this code on a vanilla client and vanilla SRCDS server to verify my findings:
local FRAME = vgui.Create("DFrame") FRAME:SetSize(300,300) FRAME:Center() FRAME:SetTitle("DModelPanel Bug") FRAME:MakePopup() local DMPANEL = vgui.Create("DModelPanel",FRAME) DMPANEL:SetSize(300,280) DMPANEL:AlignBottom(0) DMPANEL:SetModel("models/kleiner.mdl") DMPANEL:SetAnimated(true) DMPANEL:SetFOV(90) DMPANEL:SetAnimSpeed(1)
Note: They work fine in singleplayer, but in multiplayer they appear broken.