getWeapon

getWeapon

> Functions

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

If no weapon is equipped, the function returns null.

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

Parameters
Return
See as well