Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.Player:getWeapon

S๐Ÿท๏ธ Player

Part of StarfallEx namespace

๐Ÿ”— External
Player:getWeapon(wep)
View on GitHub|lua/starfall/libs_sh/players.lua:420
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Returns the specified weapon or nil if the player doesn't have it

Parameters

NameTypeDescription
wepstringWeapon class name

Returns

TypeDescription
WeaponWeapon

Examples

No examples available.

Used In

No usages found in the codebase.