Skip to content

function getPlayerRangedWeapon (server-side)

Available since version: 0.0.1

This function will get the equipped player ranged weapon.

Declaration

string|null getPlayerRangedWeapon(int id)

Parameters

  • int id: the player id.

Returns string|null

the item instance from Daedalus scripts.