முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

IsValidPlayer3DTextLabel

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Checks if a player's 3D text label is valid.

NameDescription
playeridThe ID of the player.
PlayerText3D:textidThe ID of the player's 3D text label to check.

Returns​

This function returns true if the player's 3D text label is valid, or false if it is not.

Examples​

new PlayerText3D:playerTextId;
new Float:X, Float:Y, Float:Z;

GetPlayerPos(playerid, X, Y, Z);
playerTextId = CreatePlayer3DTextLabel(playerid, "Hello\nI'm at your position", 0x008080FF, X, Y, Z, 40.0);

if (IsValidPlayer3DTextLabel(playerid, playerTextId))
{
// Do something
}