IsText3DStreamedIn

From Onset Developer Wiki
IsText3DStreamedIn

Type: Function
Context: Server
Introduced: v1.1.0

Description

Checks if stated Text 3D is streamed in for the player

Syntax

IsText3DStreamedIn(player, text3d)

Parameters

  • player
    Player which you want to check
  • text3d
    Text3D which you want to check

Return Value

  • Returns true on success.

Example

function text3DCheck(player)
   local x, y, z = GetPlayerLocation(player)
   local text3d = CreateText3D("test", 12, x, y, z, 0, 0, 0)

   if IsText3DStreamedIn(player, text3d) then
      AddPlayerChat('text3d has been created and streamed in')
   end
end


See also