-
Notifications
You must be signed in to change notification settings - Fork 9
Weapon Object
Nicholas-Fuchs edited this page May 8, 2020
·
3 revisions
A Weapon object must have the follow properties:
- PrettyName - String - The shown name of weapon
- WeaponID - String - The weapon entity ID
- Order - Number - Number used to define where the weapon will be shown in menu
- WeaponType - Weapon Type ENUM - Which menu the weapon will be on
- DamageMultiplier - Number - Weapon damage amplifier
- GiveWeapon - function(Player) - The give weapon function
- ShouldBeEnabled - function() return boolean - Function to check if the weapon should be enabled
Obs: Properties types marked as bold are optional