Good Ping out of game and to the server but lagging in game

So i’ve fine ping to the server and out of game but when i get in game i’m lagging hard i’ve alot of delay when typing in chat and trying to do things anyone got any ideas?