Forum Discussion
Jürgen_Schoene_
2 years agoCommunity Member
there are two small errors in the script
with a really strange error message in the console (-> F12)
here the correct version
var player=GetPlayer();
player.SetVar("varRandom", Math.floor((Math.random()*1000)+1));
alert("It is " + player.GetVar("varRandom"));
Jürgen