Table of Contents

Enum PickupType

Namespace
SampSharp.Entities.SAMP
Assembly
SampSharp.OpenMp.Entities.dll

Contains all pickup types

public enum PickupType

Fields

HiddenPlaySoundButNotPickupable = 13

Invisible. Triggers checkpoint sound when picked up with a vehicle, but doesn't trigger OnPlayerPickUpPickup.

ScriptedActionsOnlyEveryFewSeconds = 1

Exists always. Disables pickup scripts such as horseshoes and oysters to allow for scripted actions ONLY. Will trigger OnPlayerPickUpPickup every few seconds.

ScriptedActionsOnlyEveryFewSecondsButCameraWillDestroy = 20

Similar to type 1. Disappears when you take a picture of it with the Camera weapon, which triggers "Snapshot # out of 0" message. Taking a picture doesn't trigger OnPlayerPickUpPickup.

ScriptedActionsOnlyEveryFewSecondsButTabDisappear = 18

Similar to type 1. Pressing Tab (KEY_ACTION) makes it disappear but the key press doesn't trigger OnPlayerPickUpPickup.

ShowAndExplode = 11

Blows up a few seconds after being created (bombs?)

ShowAndExplode2 = 12

Blows up a few seconds after being created.

ShowAndNoRespawnAfterPickupWithSound = 19

Disappears after pickup, but doesn't respawn. Makes "cash pickup" sound if picked up.

ShowAndPickupableWithVehicleWithSound = 14

Disappears after pickup, can only be picked up with a vehicle. Triggers checkpoint sound.

ShowAndRespawnWhenDeath = 3

Disappears after pickup, respawns after death.

ShowAndRespawnWhenDeath2 = 22

Disappears after pickup, respawns after death.

ShowButNotPickupable = 0

The pickup does not always display. If displayed, it can't be picked up and does not trigger OnPlayerPickUpPickup and it will stay after server shutdown.

ShowNearAndRespawnWhenPickup = 2

Disappears after pickup, respawns after 30 seconds if the player is at a distance of at least 15 meters.

ShowNearAndRespawnWhenPickup2 = 15

Disappears after pickup, respawns after 30 seconds if the player is at a distance of at least 15 meters.

ShowTemporary1520AndRespawnWhenDeath = 4

Disappears after 15 to 20 seconds. Respawns after death.

ShowTillPickedUp = 8

Disappears after pickup, but has no effect.