Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function SaveStats( player )
- {
- QuerySQL(DB,
- format(@"UPDATE [Accounts] SET
- [Level]='%s',
- [UID]='%s',
- [IP]='%s',
- [AutoLogin]='%s',
- [Kills]='%s',
- [Deaths]='%s',
- [Cash]='%s',
- [Bank]='%s',
- WHERE [Name]='%s' AND [LowerName]='%s';",
- status[ player.ID ].Level.tostring(),
- status[ player.ID ].UID.tostring(),
- status[ player.ID ].IP.tostring(),
- status[ player.ID ].AutoLogin.tostring(),
- status[ player.ID ].Kills.tostring(),
- status[ player.ID ].Deaths.tostring(),
- player.Name,
- player.Name.tolower()
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement