getWeapon

getWeapon

> Functions

Returns the weapon currently equipped by the entity entity, or by your entity if no parameter is given.

If no weapon is equipped, the function returns null.

Example: if I have the pistol equipped, I use a Protein boost:

Parameters
Return
See also