Hooks/Client/onDrawSpawnedWeapon

From Official DarkRP Wiki
Revision as of 14:42, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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