Saltar al contenido principal

ispacked

Description​

Checks if the given string is packed.

NameDescription
const string[]The string to check.

Returns​

1 if the string is packed, 0 if it's unpacked.

Examples​

// Create a packed string
new string[24 char];

if (ispacked(string))
{
print("The string is packed.");
}
  • strpack: Pack a string.
  • strunpack: This function can be used to unpack a string.