SetCharPacketLength
1 min de lectura · Server (Packets)¿Para qué sirve?
Agrega texto al paquete con la longitud indicada.
Sintaxis
SetCharPacketLength(packetName, string, length)Argumentos
| Argumento | Tipo | Descripción |
|---|---|---|
packetName | texto | Nombre que identifica el paquete. |
string | texto | Texto que se desea procesar. |
length | número | Cantidad de bytes de texto. |
Resultado
No devuelve un valor de uso en el script.
Ejemplo de uso
function Ejemplo(packetName, string, length)
SetCharPacketLength(packetName, string, length)
end