Advertisement
Kdog549

Untitled

May 2nd, 2015
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. function bitchHA (accountname, thePlayer)
  2. local accountname = getElementData(thePlayer, "account:username")
  3. if (accountname == "Bitch") then
  4.     outputChatBox("You're banned, bitch!", thePlayer, 255,0,0)
  5.     mysql:query_free("UPDATE accounts SET banned='1', banned_reason='haxm8 (Permanent)', banned_by='A Bitch' WHERE id='" .. mysql:escape_string(accountID) .. "'")
  6.     outputChatBox("AdmBan: MLG banned " .. getPlayerName(source) .. ". (Permanent)", getRootElement(), 255, 0, 51)
  7.     outputChatBox("AdmBan: Reason: being a haxor MLG2pro4u (Permanent)", getRootElement(), 255, 0, 51)
  8.     end
  9. end
  10. addEventHandler("onPlayerLogin", bitchHA)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement