Syntax: Select all
@ClientCommand('+lookatweapon')
def on_lookatweapon(command, player_index):
print('Yup, works')
@ClientCommand('+jump')
def on_jump(command, player_index):
print('Nope, never gets printed')
For one reason or another, +lookatweapon works as expected but +jump never gets executed.
Why does this happen, and is there a way around it?