WritePackString
Syntax
native WritePackString(DataPack:pack, const str[]);
Usage
| Parameter | Description |
|---|---|
| pack | Datapack handle |
| str | String to pack |
Description
Packs a string into a datapack.
Return
Length of copied string
Error
If an invalid handle is provided, an error will be thrown.