Jump to content
McKay Development

Aswer

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Aswer

  1. Hi, im new to this and i don't know how to check if the key is valid or invalid..

     

     

    This is the code 

    client.on("friendMessage", function (steamID, message) {
        if (steamID == AdminID && message.indexOf('!key') == 0) {
            var GetKey = message.replace('!key ', '');
            client.redeemKey(GetKey);
            client.chatMessage(steamID, "Key activated: " + GetKey);
        }
    });
    

    Thanks  :D

×
×
  • Create New...