function
drawWeaponQueued (client-side)
Available since version: 0.3.2
This function will push draw weapon action on hero/npc action queue.
If hero/npc doesn't have equipped weapon assosiated with the preffered weapon mode, then it will try to draw melee weapon, otherwise WEAPONMODE_FIST
will be used instead.
Declaration
void drawWeaponQueued(int id, int weaponMode)
Parameters
int
id: the player id.int
weaponMode: the preffered weapon mode. For more information see Weapon mode constants.