function
setPlayerWeaponMode (client-side)
Available since version: 0.0.1
This function will set the hero/npc weapon mode.
Declaration
void setPlayerWeaponMode(int id, int weaponMode)
Parameters
int
id: the player id.int
weaponMode: . For more information see Weapon mode constants.