Advertisement
Guest User

Untitled

a guest
May 14th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. function GetForumLogin(pl, user, pw)
  2.     local data = {username = user, password = pw}
  3.     API.Execute("GetForumLogin", data
  4.         function(data)
  5.             if (data["REsponseType"] == "OK") then
  6.                 pl.ForumID = data["UserID"]
  7.                 pl.LoggedIn = true
  8.             else
  9.                 // error stuff here
  10.             end
  11.         end)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement