Hooks/Server/onKeysLocked

From Official DarkRP Wiki
Revision as of 14:47, 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 onKeysLocked(Entity ent)
Description:
Called when a door or vehicle was locked.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onKeysLocked]onKeysLocked hook[/url][/b]

Parameters

  1. ent (Entity)
  2. The entity that was locked.

Return values

This hook does not accept return values. You can still return a value to override the default implementation of this hook.