IsPickupStreamedIn

From Onset Developer Wiki
IsPickupStreamedIn

Type: Function
Context: Server
Introduced: v1.1.0

Description

Checks if stated pickup is streamed in for the player

Syntax

IsPickupStreamedIn(player, pickupId)

Parameters

  • player
    Player which you want to check
  • pickupId
    Pickup which you want to check

Return Value

  • Returns true on success.

Example

if IsPickupStreamedIn(player, pickupId) then
	AddPlayerChat(player, "The pickup " .. pickupId .. " is streamed in for you.")
end


See also