Event call from macro library

In my macro (pic 1) I call the sprint events only to result in a fatal error for the compiler

Error Could not find a function named “StopSprinting” in ‘1PCharacter_C’.
Make sure ‘1PCharacter_C’ has been compiled for Sprint Control
Error Could not find a function named “StopSprinting” in ‘1PCharacter_C’.
Make sure ‘1PCharacter_C’ has been compiled for Sprint Control

Help pls