Jump to content
McKay Development


Recommended Posts

Hi, how do I set that I'm playing a custom game in my profile. I tried placing the string first but still goes online and shows as playing a game with the first integer in my array


client.gamesPlayed(["some string here", 730, 440, ..., ....]);


edit: I made it work by via this:


let x = "some string here";

let y = x.toString();

client.gamesPlayed([y, 730, 440, ..., ....]);

Edited by hexo

Share this post

Link to post
Share on other sites

If you want a custom game, make a string as the first entry in your games array that you pass to gamesPlayed.



client.gamesPlayed('My Custom Game', 440 ,730);


var games = ['My Custom Game', 440 ,730];


It looks cleaner in my opinion.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...