[CS:GO] Accept Input Error
Posted: Mon Dec 10, 2018 3:31 pm
I'm getting error UnicodeDecodeError with this code:
Syntax: Select all
@EntityPreHook(EntityCondition.is_player, "accept_input")
def pre_accept_input(stack_data):
SayText2("Hello").send()
input_name = stack_data[1]
Syntax: Select all
File "../addons/source-python/plugins/trikzcafe/no_shake_jump.py", line 43, in pre_accept_input
input_name = stack_data[1]
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 0: invalid continuation byte
Syntax: Select all
# _ZN11CBaseEntity11AcceptInputEPKcPS_S2_9variant_ti
[[accept_input]]
offset_linux = 42
offset_windows = 41
arguments_linux = STRING, POINTER, POINTER, POINTER, INT
arguments_windows = STRING, POINTER, POINTER, POINTER, POINTER, POINTER, POINTER, POINTER, INT
return_type = BOOL