Zzeroiscool723 Ah, of course...
var userId = encodeURIComponent(getUserId());
textSize(20);
text(userId, 50, 20);
The error you're getting is most likely because you wrote text (msg)
with a space between "text" and "(msg)". Try removing it, as in text(msg, 200,200)
. Don't forget the X and Y coordinates either if you want the text to be displayed.
Also, when adding strings as in text((userId)+(space)+(msg), 50, 20);
, you don't need any parentheses. Just do userId+space+msg
.
If you need any other help with anything, you can send me a private post anytime.