IsPickupStreamedIn: Difference between revisions

From Onset Developer Wiki
(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...")
 
(No difference)

Latest revision as of 09:54, 8 March 2020

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