zniC
o hio
- Joined
- Jun 2, 2007
- Messages
- 1,482
- Reaction score
- 4
I love you ;DD
edit: Seems I need some further guidance...
I tried this query, what I want to do is change all characters with account_id 2 outfit to color X;
UPDATE players WHERE account_id = 2 SET lookfeet = 200, lookbody = 200, looklegs = 200, lookhead = 200;
But, SQL Error: near "WHERE": syntax error
UPDATE `players` SET `lookfeet` = 'X' AND `lookbody` = 'X' AND `looklegs` = 'X' AND `lookhead` = 'X' WHERE `account_id` = '2'
Thanks lots. Seems like it's working ;D Although, I get that "choose outfit window" and I really don't like it to show, because I think it makes all my characters light blue again...
Is it because of something like lastlogin is 0 or a storagevalue missing?
Seems I can't rep twice![]()
ahh, I need helpedit:
Actually, the last query won't work. :s
The fields remain the same (the colours doesn't change)
Any clues?
- remember I'm on SQLite