Advertisement
slp13at420

WD wc-box logout

Jan 4th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. -- I dunno who wrote this but it was in Grims repack and very handy for a couple scripts for mg
  2. -- so rep grim for this
  3.  
  4. function WelcomeBoxupdate(event, player)
  5. WorldDBQuery("UPDATE logon.accounts SET `wc_box` = '0' WHERE `login` = '"..player:GetAccountName().."' LIMIT 1; ");
  6. end
  7. RegisterServerHook(13, "WelcomeBoxupdate")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement