DarkRP.Player.DropPocketItem
Jump to navigation
Jump to search
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions. Check here for a up-to-date list of functions. |
---|
Function | |
Function name | Player:DropPocketItem(Entity ent) |
Description: | |
Drops the entity from the player's pocket. | |
Returns: | nil |
Part of Library: | Player |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=DarkRP.Player.DropPocketItem]Player:DropPocketItem[/url][/b] |
Examples[edit]
Description | Drops the entity in given slot of the player's pocket |
---|---|
Used on | ![]() |
Code | function DropActiveWeapon(ply, slot)
ply:DropPocketItem(ply.Pocket[i])
end
|
Output | N/A |