This repository was archived by the owner on Aug 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Serialization
tbeck edited this page Sep 18, 2023
·
2 revisions
Learn how serialization works
Supported arguments types for MetaData, Script events and are:
[]bytemap-
bool.int(8-64) -
uint(16-64) -
float(32,64) stringPlayerVehicleVector3Vector2BlipVoiceChannelColShapeCheckpoint- any type listed here as array e.g. int[].
Its recommended to serialize arrays and dicts before sending them to the player
due to degraded MValue encode/decode performance caused by cgo.
Byte arrays are excluded.
| Go type | alt:V Type |
|---|---|
| int, int8, int16, int32, int64 | MValueInt |
| uint, uint8, uint16, uint32, uint64 | MValueInt? not sure |
| bool | MValueBool |
You encountered a problem 💥? Check out the Troubleshooting Guide!
If you can't find a solution there file a new issue in this repository or contact me on Discord.