I didnt add my whole code here, because everything compiled well, until i add these lines. So… How can i declare server and client functions in 4.22? Everything I can google is sooo old now…
Thank you for the answer!! I already tried it, but it just underlines the function name and says, the class member doesnt have function like this… But now i copy pasted what you gave me(the same i did before) and now it doesnt complains and compiles well. Bur when i make another function exactly like you did it again underlines it… and doesnt compile
so in the end, did you succed ? note that intellisense has some hard time with UE code gen, so you should try to build even if it’s underlined in red, and output log give you way better information on the actual error ( if there is any )
So in the end, it still underlines the new declarations, but it compiles succesfully. When i reload the whole project, then it doesnt underline it. Weird