ClearLastPlrCom

Category: Player
Since engine version: 4.9.7.0 CR

Description

This function deletes the last input (key press / mouse click) of player iPlr. For example It can be used to avoid triggering a ControlDigSingle in the Clonk causing it to start digging after a ControlDig was part of some combo.

Syntax

bool ClearLastPlrCom (int iPlr);

Parameter

iPlr:
Number of the player whose last control input should be deleted.
Fulgen / Clonk Wiki, Juli 2016