-
Notifications
You must be signed in to change notification settings - Fork 1
Pickup Functions
Necroso edited this page Oct 10, 2022
·
5 revisions
- Pickup.type() — Returns Pickup type (string "Pickup")
- Pickup.findByID(int id) — Returns a Pickup with the matching id, nil otherwise
- Pickup.count() — Returns the total number of Pickup instances right now (Pickup count)
- Pickup.getActive() — Returns a table of all pickups
Pickup:new(int model, int world, int quantity, table position, int alpha, bool isAuatomatic)
Pickup:new(int model, int world, int quantity, float x, float y, float z, int alpha, bool isAuatomatic)
- getType() — Returns the entity type (Same as static)
- getID() — Return Pickup's ID
- getModel() — Return Pickup's Model
- destroy() — Destroys and deletes the Pickup
- streamedForPlayer(Player player) — Is the Pickup streamed for player or not (bool)
- respawn() — Respawn the Pickup
- getOption(PickupOption option) — Get state of an option
- setOption(PickupOption option) — Set state of an option
- data — Table
- position — Table
- world — int
- alpha — int
- auto — int
- autoTimer — int