Pixel-Composer/objects/Obj_FirebaseFirestore_Document_Set/Mouse_7.gml

10 lines
202 B
Plaintext
Raw Normal View History

2023-11-14 14:29:11 +01:00
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)