Advertisement
Anik1204

Riz

Jun 8th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. function SaveStats( player )
  2. {
  3. QuerySQL(DB,
  4. format(@"UPDATE [Accounts] SET
  5. [Level]='%s',
  6. [UID]='%s',
  7. [IP]='%s',
  8. [AutoLogin]='%s',
  9. [Kills]='%s',
  10. [Deaths]='%s',
  11. [Cash]='%s',
  12. [Bank]='%s',
  13. WHERE [Name]='%s' AND [LowerName]='%s';",
  14. status[ player.ID ].Level.tostring(),
  15. status[ player.ID ].UID.tostring(),
  16. status[ player.ID ].IP.tostring(),
  17. status[ player.ID ].AutoLogin.tostring(),
  18. status[ player.ID ].Kills.tostring(),
  19. status[ player.ID ].Deaths.tostring(),
  20. player.Name,
  21. player.Name.tolower()
  22. )
  23. );
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement