Hooks/Client/onDrawSpawnedWeapon

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name onDrawSpawnedWeapon(Player weapon)
Description:
Draw spawned weapons.
Returns: any value
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Client/onDrawSpawnedWeapon]onDrawSpawnedWeapon hook[/url][/b]

Parameters

  1. weapon (Player)
  2. The weapon to perform drawing operations on.

Return values

  1. value (any)
  2. Return a value to completely override drawing