Hi. I'm using the roblox-js-server api and when I use the setRank method like so api.setRank(player.UserId, GroupID, 12) is says that the role aka the last thing in the argument does not exist.
In the docs it says to use it like api.SetRank(GroupID, UserId, RoleID) however, when I do it that way I get
"Set rank failed: Target user 3272666 is not in group 327266"
For some reason, the user id that I put is being ignored and it's just using the group id as the user id. Anyone know how to fix this?
Hi. I'm using the roblox-js-server api and when I use the setRank method like so
api.setRank(player.UserId, GroupID, 12)
is says that the role aka the last thing in the argument does not exist. In the docs it says to use it likeapi.SetRank(GroupID, UserId, RoleID)
however, when I do it that way I getFor some reason, the user id that I put is being ignored and it's just using the group id as the user id. Anyone know how to fix this?