Scripting/Server/Classes/Pickup

PropertyTypeAccessDescription
IDintegerr
ModelintegerrwPickup model id.
PosVectorrw
RespawnTimeintegerrwSeconds until it respawns after being collected (0 = instantly).
LabelstringrwText drawn in 3D above the pickup on every client (v0.1.9+), like the Ammu-Nation prices, e.g. pickup.Label = "$300". Up to 47 bytes; an empty string or null removes it. Shown within about 20 m.
InstantRespawnbooleanrwRespawn time of 0.
OneTimebooleanrwNever respawns once collected.
VirtualWorldintegerrw

Methods and functions

Categories: Server classes