Signature
native WritePackString(DataPack:pack, const str[]);
Description
Packs a string into a datapack.
Parameters
- pack — Datapack handle
- str — String to pack
Returns
Length of copied string
Errors
- If an invalid handle is provided, an error will be thrown.