Player.DropObject
From GMod Wiki
| Function | |
| Syntax | Player:DropObject( Entity ) |
| Description: | |
| Drops an entity held by the player though Player.PickupObject. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.DropObject]Player.DropObject [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Drops a held entity. |
|---|---|
| Used on | |
| Code | function dropEnt(ent) ply:DropObject(ent) end |
| Output | Player will drop the entity if it was held. |