IsPickupStreamedIn

From Onset Developer Wiki
Revision as of 09:54, 8 March 2020 by 28days (talk | contribs) (Created page with "{{Info|Function|Server|1.1.0}} {{FuncDescription|Checks if stated pickup is streamed in for the player}} {{FuncSyntax|IsPickupStreamedIn(player, pickupId)}} {{FuncParameter...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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