RPC function from Server doesn't work!

Hi, I’m having a problem with client not properly calling server RPC function.
352023-
MyCharacter.cpp

that’s the code for using item. everything works fine without activate function

I don’t understand why it is not calling activate function(server RPC) but updateHUD function(client RPC).
352024-
MyPickups.cpp

and this is activate code

i tried making UseItem as server RPC function but it didn’t work…

and checked only server RPC doesn’t work

help me please.

Your images don’t show. Please reload them or better just paste the respective portions of your code.