Untitled

mail@pastecode.io avatar
unknown
javascript
6 months ago
560 B
1
Indexable
Never
var player = GetPlayer();



var score = player.GetVar("num_score_final");
var teamname = player.GetVar("team_name");
var usernames = player.GetVar("user_names");





if(window.XMLHttpRequest) // FIREFOX
{
    xhr_object = new XMLHttpRequest();
}
else  // IE
{
    xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
}
xhr_object.open("GET",  "https://www.eventsgamesformation.com/michelin/opedownstream/escapegame/question.php?GameID=1&TeamID="+ teamname + "&Score=" + score + "&TeamPlayers=" + usernames, false);
xhr_object.send(null);
Leave a Comment