Pixel-Composer/objects/Obj_FirebaseFirestore_Document_Set/Mouse_7.gml
2023-11-14 20:29:11 +07:00

10 lines
202 B
Plaintext

randomize()
var map = ds_map_create()
//map[?"value"] = "YoYoGames"
map[?"points"] = irandom(999999)
var json = json_encode(map)
ds_map_destroy(map)
FirebaseFirestore("Collection/Document").Set(json)