Skip to content
KRY edited this page Oct 19, 2023 · 11 revisions

HomeNativesPickups

Refer to the SA-MP wiki for more information. Many of these natives are derived from the default SA-MP natives.

  • CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_PICKUP_SD, areaid = -1, priority = 0)
  • DestroyDynamicPickup(pickupid)
  • IsValidDynamicPickup(pickupid)

Notes

  • Because per-player pickups do not exist, a pickup that has been streamed in will be visible to every player. However, the pickup will remain streamed out until every possible constraint (worldid, interiorid, playerid, and areaid) is satisfied.
  • While pickups cannot be bound to players, they can be bound to virtual worlds. A pickup that has been set to a specific virtual world will not be visible to players in other virtual worlds.