Question from a developer:
Hello, why GrantItemsToUsers not work?? This is Javascript in Cloud:
var GrantInventoryToUserResponse = server.GrantItemsToUser({
"ItemGrants": [{
"PlayFabId" : currentPlayerId,
"ItemIds" : "Projectile_0",
"Annotation" : "First Login Setup Inventory",
"Data" : {
"MaxAmmo" : 60,
"AmmoPerClips" : 10,
"InitialClips" : 10,
"TimeBetweenShots" : 2,
"ReloadDuration" : 2
}
}]
});